#6A188C#6A188C
#6A188C is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.7% C 0.180 H 313.1°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #6A188C |
|---|---|
| RGB | rgb(106, 24, 140) |
| HSL | hsl(282, 71%, 32%) |
| HSV | hsv(282, 83%, 55%) |
| CMYK | cmyk(24.3%, 82.9%, 0%, 45.1%) |
| CIE-LAB | lab(28.41, 52.27, -46.40) |
| CIE-LCH | lch(28.41, 69.89, 318.40°) |
| OKLab | oklab(40.65% 0.123 -0.1314) |
| OKLCH | oklch(40.65% 0.18 313.1) |
| XYZ | xyz(11.0033, 5.6112, 25.3093) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.25
Rebeccapurple
#663399
ΔE00 5.33
Purple
#800080
ΔE00 5.66
Darkish Purple
#751973
ΔE00 6.39
Indigo
#4B0082
ΔE00 6.50
Darkmagenta
#8B008B
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A188C #3A8C18
analogous
#30188C #6A188C #8C1874
triadic
#6A188C #8C6A18 #188C6A
tetradic
#6A188C #8C3018 #3A8C18 #18748C
square
#6A188C #8C3018 #3A8C18 #18748C
split-complementary
#6A188C #748C18 #188C30
monochromatic
#1B0624 #420F58 #6A188C #9221C0 #B040DE
Accessibility & contrast
On white
9.90
#6A188C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#6A188C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A188C
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A188C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A188C | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#03458A
Tritanopia (blue-blind)
#663553
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #6a188c; /* rgb */ color: rgb(106, 24, 140); /* oklch */ color: oklch(40.7% 0.180 313.1);
Tailwind
colors: {
custom: {
50: '#9961ae',
500: '#6a188c',
950: '#000000',
},
}SCSS
$custom: #6a188c; $custom-light: #9961ae; $custom-dark: #000000;
JSON
{
"hex": "#6a188c",
"rgb": {
"r": 106,
"g": 24,
"b": 140
},
"hsl": {
"h": 282.414,
"s": 70.732,
"l": 32.157
},
"oklch": {
"l": 0.40651,
"c": 0.17995,
"h": 313.1
},
"luminance": 0.05611
}Semantic roles & 50–950 ramp
primary
#6A188C
secondary
#66BF41
accent
#ED3A6F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F