Skip to content

#6c5bc9

a balanced, vivid blue · cool · “Slate Blue”

RGB
108, 91, 201
HSL
249°, 51%, 57%
CMYK
46, 55, 0, 21
Luminance
0.1489

At a glance

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

Hex
#6c5bc9
Hue
249°
blue
Saturation
51%
vivid
Lightness
57%
balanced
Brightness
79%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1489
WCAG relative
Temperature
Cool
78/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
5.28:1
Closest name
Slate Blue
ΔE2000 0.8
Where it sits
Hue249° of 360°
Saturation51%
Lightness57%
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#6c5bc9
RGBrgb(108, 91, 201)
HSLhsl(249, 51%, 57%)
CMYKcmyk(46%, 55%, 0%, 21%)
LABlab(45.5 34.7 -55.2)
LCHlch(45.5 65.2 302.1)
OKLCHoklch(0.544 0.164 286.7)
Decimal7101385
Display P3color(display-p3 0.424 0.357 0.788)

Copy-ready code

/* CSS */
color: #6c5bc9;
background-color: #6c5bc9;
/* Tailwind (arbitrary) */
class="text-[#6c5bc9] bg-[#6c5bc9]"
/* SCSS */
$brand: #6c5bc9;
/* SwiftUI */
Color(red: 0.424, green: 0.357, blue: 0.788)
/* Android */
Color.parseColor("#6c5bc9")
/* Flutter */
Color(0xFF6C5BC9)
/* Python / OpenCV (BGR) */
(201, 91, 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 #6c5bc9 · 5.28:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.28:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.98:1
AA fail · AA large pass · AAA fail
Reading the other direction: #6c5bc9 as text scores 5.28:1 on white and 3.98:1 on black.

Accessibility — WCAG contrast

Aa
#6c5bc9 on white: 5.28:1
AA ✓ pass · AA-large · AAA
Aa
#6c5bc9 on black: 3.98:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #1E6ECD
deuteranopia · #1D69C7
tritanopia · #4E7389

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #6c5bc9 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.

#F5F4FA
#ECEAF6
#D4CFED
#B3ABE3
#8E80D5
#6c5bc9
#503DB8
#42329A
#35287B
#2A215A
#1A1438
Base = 500Lightest = 50 · #F5F4FADarkest = 950 · #1A1438
:root {
  --brand-50: #F5F4FA;
  --brand-100: #ECEAF6;
  --brand-200: #D4CFED;
  --brand-300: #B3ABE3;
  --brand-400: #8E80D5;
  --brand-500: #6c5bc9;
  --brand-600: #503DB8;
  --brand-700: #42329A;
  --brand-800: #35287B;
  --brand-900: #2A215A;
  --brand-950: #1A1438;
  --brand: #6c5bc9;
  --brand-ink: #ffffff;
}

Colors that work with #6c5bc9

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#F5F4FA
Tinted page background
Border#C8C2EB
Hairlines and dividers
Muted text#574B9B
Captions on the surface
Accent#9D932F
Second voice, not a rival
Dark variant#2A2060
Hover, pressed, headers
Light variant#EEECF9
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 #6c5bc9

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • 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#B8C95B
Analogous left#5B81C9
Analogous right#A35BC9
Split-complement 1#C9A35B
Split-complement 2#81C95B
Triadic 1#C96C5B
Triadic 2#5BC96C
Tetradic#C95B81

RGB percentages

Red42.4%
Green35.7%
Blue78.8%

CMYK percentages

Cyan46.3%
Magenta54.7%
Yellow0.0%
Key (black)21.2%

Color previews

#6c5bc9 text on a black background

contrast 3.98:1

Card sample

#6c5bc9 text on a white background

contrast 5.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #6c5bc9

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.

#6c5bc9 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.

#6c5bc9, answered

What color is #6c5bc9?

#6c5bc9 is a balanced vivid blue — the CSS keyword Slate Blue. It sits at 249° on the hue wheel with 51% saturation and 57% lightness, which reads as cool.

What is the RGB value of #6c5bc9?

rgb(108, 91, 201) — 108 red, 91 green and 201 blue out of 255, or 42.4% / 35.7% / 78.8% by channel.

Is #6c5bc9 a light or a dark color?

It is a dark color. Relative luminance is 0.1489 and perceived brightness is 45%, so white text on it reaches 5.28:1.

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

White. It scores 5.28:1 against #6c5bc9, versus 3.98:1 for black — AA at any size.

What is the complementary color of #6c5bc9?

#B8C95B sits directly opposite on the wheel. Softer options are the split-complements #C9A35B and #81C95B, which give the same contrast with far less vibration.

What colors go well with #6c5bc9?

For interface work: #F5F4FA as the surface, #C8C2EB for borders, #574B9B for secondary text, #9D932F as an accent and #2A2060 for hover and pressed states. For a palette, the analogous pair #5B81C9 and #A35BC9 stays calm, while #B8C95B is the loudest partner.

What is #6c5bc9 in CMYK for printing?

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

Is #6c5bc9 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 #945BC9; nudged cooler, #5971CB.

Work with #6c5bc9 in the Color Lab