#6A188F#6A188F
#6A188F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.9% C 0.183 H 312.0°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #6A188F |
|---|---|
| RGB | rgb(106, 24, 143) |
| HSL | hsl(281, 71%, 33%) |
| HSV | hsv(281, 83%, 56%) |
| CMYK | cmyk(25.9%, 83.2%, 0%, 43.9%) |
| CIE-LAB | lab(28.64, 52.90, -47.88) |
| CIE-LCH | lch(28.64, 71.35, 317.85°) |
| OKLab | oklab(40.89% 0.1223 -0.1357) |
| OKLCH | oklch(40.89% 0.183 312) |
| XYZ | xyz(11.2275, 5.7009, 26.4902) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.11
Rebeccapurple
#663399
ΔE00 5.09
Purple
#800080
ΔE00 6.02
Indigo
#4B0082
ΔE00 6.47
Darkmagenta
#8B008B
ΔE00 6.76
Darkish Purple
#751973
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A188F #3D8F18
analogous
#2F188F #6A188F #8F1878
triadic
#6A188F #8F6A18 #188F6A
tetradic
#6A188F #8F2F18 #3D8F18 #18788F
square
#6A188F #8F2F18 #3D8F18 #18788F
split-complementary
#6A188F #788F18 #188F2F
monochromatic
#1C0626 #430F5B #6A188F #9121C3 #AE42DF
Accessibility & contrast
On white
9.81
#6A188F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#6A188F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A188F
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A188F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A188F | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#653755
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #6a188f; /* rgb */ color: rgb(106, 24, 143); /* oklch */ color: oklch(40.9% 0.183 312.0);
Tailwind
colors: {
custom: {
50: '#9961b1',
500: '#6a188f',
950: '#000000',
},
}SCSS
$custom: #6a188f; $custom-light: #9961b1; $custom-dark: #000000;
JSON
{
"hex": "#6a188f",
"rgb": {
"r": 106,
"g": 24,
"b": 143
},
"hsl": {
"h": 281.345,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.40889,
"c": 0.18267,
"h": 312
},
"luminance": 0.05701
}Semantic roles & 50–950 ramp
primary
#6A188F
secondary
#6AC043
accent
#EE3A72
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80