Skip to content

#6c5eb3

a balanced, soft blue · cool · closest name: Slate Blue

RGB
108, 94, 179
HSL
250°, 36%, 54%
CMYK
40, 48, 0, 30
Luminance
0.1445

At a glance

Every number on this page in one read: what #6c5eb3 is made of, how bright it looks, and which way it leans.

Hex
#6c5eb3
Hue
250°
blue
Saturation
36%
soft
Lightness
54%
balanced
Brightness
70%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1445
WCAG relative
Temperature
Cool
78/100 cool
Color family
Blue
Tone
Soft
Best ink
White
5.40:1
Closest name
Slate Blue
ΔE2000 4.6
Where it sits
Hue250° of 360°
Saturation36%
Lightness54%
Temperature
Warm ← → Cool78% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#6c5eb3
RGBrgb(108, 94, 179)
HSLhsl(250, 36%, 54%)
CMYKcmyk(40%, 48%, 0%, 30%)
LABlab(44.9 26.5 -43.4)
LCHlch(44.9 50.9 301.4)
OKLCHoklch(0.535 0.130 288.8)
Decimal7102131
Display P3color(display-p3 0.424 0.369 0.702)

Copy-ready code

/* CSS */
color: #6c5eb3;
background-color: #6c5eb3;
/* Tailwind (arbitrary) */
class="text-[#6c5eb3] bg-[#6c5eb3]"
/* SCSS */
$brand: #6c5eb3;
/* SwiftUI */
Color(red: 0.424, green: 0.369, blue: 0.702)
/* Android */
Color.parseColor("#6c5eb3")
/* Flutter */
Color(0xFF6C5EB3)
/* Python / OpenCV (BGR) */
(179, 94, 108)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #6c5eb3 · 5.40:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.40:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.89:1
AA fail · AA large pass · AAA fail
Reading the other direction: #6c5eb3 as text scores 5.40:1 on white and 3.89:1 on black.

Accessibility — WCAG contrast

Aa
#6c5eb3 on white: 5.40:1
AA ✓ pass · AA-large · AAA
Aa
#6c5eb3 on black: 3.89:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3E6CB6
deuteranopia · #3E68B1
tritanopia · #596F80

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #6c5eb3 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F6F5F9
#EDEBF4
#D7D3E8
#B9B3DB
#978DC9
#6c5eb3
#5D4EA6
#4D418B
#3E346F
#302951
#1E1A33
Base = 500Lightest = 50 · #F6F5F9Darkest = 950 · #1E1A33
:root {
  --brand-50: #F6F5F9;
  --brand-100: #EDEBF4;
  --brand-200: #D7D3E8;
  --brand-300: #B9B3DB;
  --brand-400: #978DC9;
  --brand-500: #6c5eb3;
  --brand-600: #5D4EA6;
  --brand-700: #4D418B;
  --brand-800: #3E346F;
  --brand-900: #302951;
  --brand-950: #1E1A33;
  --brand: #6c5eb3;
  --brand-ink: #ffffff;
}

Colors that work with #6c5eb3

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F6F5FA
Tinted page background
Border#CCC8E5
Hairlines and dividers
Muted text#584B9B
Captions on the surface
Accent#8F883D
Second voice, not a rival
Dark variant#302957
Hover, pressed, headers
Light variant#EFEEF7
Selected rows, tints
Dark surface#161424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #6c5eb3

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#A5B35E
Analogous left#5E7AB3
Analogous right#965EB3
Split-complement 1#B3965E
Split-complement 2#7AB35E
Triadic 1#B36C5E
Triadic 2#5EB36C
Tetradic#B35E7A

RGB percentages

Red42.4%
Green36.9%
Blue70.2%

CMYK percentages

Cyan39.7%
Magenta47.5%
Yellow0.0%
Key (black)29.8%

Color previews

#6c5eb3 text on a black background

contrast 3.89:1

Card sample

#6c5eb3 text on a white background

contrast 5.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #6c5eb3;
Background color
Panel with #6c5eb3 background
background-color: #6c5eb3;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #6c5eb3;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(108, 94, 179, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(108, 94, 179, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6c5eb3;
background: linear-gradient(135deg, #6c5eb3, #A55EB3);

Monochromatic scale

Palettes built from #6c5eb3

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#6c5eb3 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#6c5eb3, answered

What color is #6c5eb3?

#6c5eb3 is a balanced soft blue, closest to Slate Blue (ΔE2000 4.6). It sits at 250° on the hue wheel with 36% saturation and 54% lightness, which reads as cool.

What is the RGB value of #6c5eb3?

rgb(108, 94, 179) — 108 red, 94 green and 179 blue out of 255, or 42.4% / 36.9% / 70.2% by channel.

Is #6c5eb3 a light or a dark color?

It is a dark color. Relative luminance is 0.1445 and perceived brightness is 44%, so white text on it reaches 5.40:1.

Should I use black or white text on #6c5eb3?

White. It scores 5.40:1 against #6c5eb3, versus 3.89:1 for black — AA at any size.

What is the complementary color of #6c5eb3?

#A5B35E sits directly opposite on the wheel. Softer options are the split-complements #B3965E and #7AB35E, which give the same contrast with far less vibration.

What colors go well with #6c5eb3?

For interface work: #F6F5FA as the surface, #CCC8E5 for borders, #584B9B for secondary text, #8F883D as an accent and #302957 for hover and pressed states. For a palette, the analogous pair #5E7AB3 and #965EB3 stays calm, while #A5B35E is the loudest partner.

What is #6c5eb3 in CMYK for printing?

cmyk(40%, 48%, 0%, 30%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #6c5eb3 warm or cool?

Cool — it scores 78 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8B5EB3; nudged cooler, #5B6EB5.

Work with #6c5eb3 in the Color Lab