#6C188F#6C188F
#6C188F is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.2% C 0.183 H 313.0°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #6C188F |
|---|---|
| RGB | rgb(108, 24, 143) |
| HSL | hsl(282, 71%, 33%) |
| HSV | hsv(282, 83%, 56%) |
| CMYK | cmyk(24.5%, 83.2%, 0%, 43.9%) |
| CIE-LAB | lab(28.97, 53.25, -47.34) |
| CIE-LCH | lch(28.97, 71.25, 318.36°) |
| OKLab | oklab(41.18% 0.125 -0.1341) |
| OKLCH | oklch(41.18% 0.183 313) |
| XYZ | xyz(11.4680, 5.8249, 26.5015) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.79
Rebeccapurple
#663399
ΔE00 5.15
Purple
#800080
ΔE00 5.68
Darkmagenta
#8B008B
ΔE00 6.37
Darkish Purple
#751973
ΔE00 6.60
Indigo
#4B0082
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C188F #3B8F18
analogous
#31188F #6C188F #8F1876
triadic
#6C188F #8F6C18 #188F6C
tetradic
#6C188F #8F3118 #3B8F18 #18768F
square
#6C188F #8F3118 #3B8F18 #18768F
split-complementary
#6C188F #768F18 #188F31
monochromatic
#1D0626 #440F5B #6C188F #9421C3 #B142DF
Accessibility & contrast
On white
9.70
#6C188F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#6C188F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C188F
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C188F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C188F | 1.00 | 9.70 | 2.17 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#01468D
Tritanopia (blue-blind)
#683655
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #6c188f; /* rgb */ color: rgb(108, 24, 143); /* oklch */ color: oklch(41.2% 0.183 313.0);
Tailwind
colors: {
custom: {
50: '#9b61b1',
500: '#6c188f',
950: '#000000',
},
}SCSS
$custom: #6c188f; $custom-light: #9b61b1; $custom-dark: #000000;
JSON
{
"hex": "#6c188f",
"rgb": {
"r": 108,
"g": 24,
"b": 143
},
"hsl": {
"h": 282.353,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.41179,
"c": 0.1833,
"h": 313
},
"luminance": 0.05825
}Semantic roles & 50–950 ramp
primary
#6C188F
secondary
#68C043
accent
#EE3A6F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0511
muted
#7E7A80