#6E178F#6E178F
#6E178F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.4% C 0.185 H 314.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #6E178F |
|---|---|
| RGB | rgb(110, 23, 143) |
| HSL | hsl(284, 72%, 33%) |
| HSV | hsv(284, 84%, 56%) |
| CMYK | cmyk(23.1%, 83.9%, 0%, 43.9%) |
| CIE-LAB | lab(29.19, 53.91, -46.97) |
| CIE-LCH | lch(29.19, 71.50, 318.93°) |
| OKLab | oklab(41.4% 0.1284 -0.1329) |
| OKLCH | oklch(41.4% 0.185 314) |
| XYZ | xyz(11.6939, 5.9114, 26.5063) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.53
Rebeccapurple
#663399
ΔE00 5.32
Purple
#800080
ΔE00 5.33
Darkmagenta
#8B008B
ΔE00 5.98
Darkish Purple
#751973
ΔE00 6.36
Indigo
#4B0082
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E178F #388F17
analogous
#32178F #6E178F #8F1774
triadic
#6E178F #8F6E17 #178F6E
tetradic
#6E178F #8F3217 #388F17 #17748F
square
#6E178F #8F3217 #388F17 #17748F
split-complementary
#6E178F #748F17 #178F32
monochromatic
#1D0626 #450F5A #6E178F #971FC4 #B440E0
Accessibility & contrast
On white
9.62
#6E178F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#6E178F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E178F
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E178F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E178F | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#07478D
Tritanopia (blue-blind)
#6B3655
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #6e178f; /* rgb */ color: rgb(110, 23, 143); /* oklch */ color: oklch(41.4% 0.185 314.0);
Tailwind
colors: {
custom: {
50: '#9c61b1',
500: '#6e178f',
950: '#000000',
},
}SCSS
$custom: #6e178f; $custom-light: #9c61b1; $custom-dark: #000000;
JSON
{
"hex": "#6e178f",
"rgb": {
"r": 110,
"g": 23,
"b": 143
},
"hsl": {
"h": 283.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.41398,
"c": 0.18481,
"h": 314
},
"luminance": 0.05911
}Semantic roles & 50–950 ramp
primary
#6E178F
secondary
#64C141
accent
#EF396B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80