#6C5EB0#6C5EB0
#6C5EB0 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.4% C 0.125 H 289.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #6C5EB0 |
|---|---|
| RGB | rgb(108, 94, 176) |
| HSL | hsl(250, 34%, 53%) |
| HSV | hsv(250, 47%, 69%) |
| CMYK | cmyk(38.6%, 46.6%, 0%, 31%) |
| CIE-LAB | lab(44.70, 25.61, -41.95) |
| CIE-LCH | lch(44.70, 49.15, 301.41°) |
| OKLab | oklab(53.35% 0.0414 -0.1184) |
| OKLCH | oklch(53.35% 0.125 289.3) |
| XYZ | xyz(18.0214, 14.3276, 42.8819) |
| Luminance | 0.1433 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 4.62
Slate Blue
#6A5ACD
ΔE00 5.13
Light Indigo
#6D5ACF
ΔE00 5.35
Royal Purple
#7851A9
ΔE00 5.61
Dark Periwinkle
#665FD1
ΔE00 5.74
Deep Lavender
#8D5EB7
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C5EB0 #A2B05E
analogous
#5E79B0 #6C5EB0 #955EB0
triadic
#6C5EB0 #B06C5E #5EB06C
tetradic
#6C5EB0 #B05E79 #A2B05E #5EB095
square
#6C5EB0 #B05E79 #A2B05E #5EB095
split-complementary
#6C5EB0 #B0955E #79B05E
monochromatic
#393163 #51458C #6C5EB0 #9187C4 #B7B0D8
Accessibility & contrast
On white
5.43
#6C5EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#6C5EB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C5EB0
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C5EB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C5EB0 | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#406BB3
Deuteranopia (green-blind)
#4168AE
Tritanopia (blue-blind)
#5A6E7E
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6c5eb0; /* rgb */ color: rgb(108, 94, 176); /* oklch */ color: oklch(53.4% 0.125 289.3);
Tailwind
colors: {
custom: {
50: '#998cc8',
500: '#6c5eb0',
950: '#000000',
},
}SCSS
$custom: #6c5eb0; $custom-light: #998cc8; $custom-dark: #000000;
JSON
{
"hex": "#6c5eb0",
"rgb": {
"r": 108,
"g": 94,
"b": 176
},
"hsl": {
"h": 250.244,
"s": 34.167,
"l": 52.941
},
"oklch": {
"l": 0.53351,
"c": 0.12548,
"h": 289.3
},
"luminance": 0.14328
}Semantic roles & 50–950 ramp
primary
#6C5EB0
secondary
#C1C7A3
accent
#CA5EB8
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82