#420E66#420E66
#420E66 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.141 H 306.1°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).
Color values
| HEX | #420E66 |
|---|---|
| RGB | rgb(66, 14, 102) |
| HSL | hsl(275, 76%, 23%) |
| HSV | hsv(275, 86%, 40%) |
| CMYK | cmyk(35.3%, 86.3%, 0%, 60%) |
| CIE-LAB | lab(17.61, 39.98, -39.99) |
| CIE-LCH | lch(17.61, 56.55, 314.99°) |
| OKLab | oklab(30.8% 0.083 -0.1139) |
| OKLCH | oklch(30.8% 0.141 306.1) |
| XYZ | xyz(4.8015, 2.4317, 12.7842) |
| Luminance | 0.0243 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.50
Indigo
#4B0082
ΔE00 4.97
Indigo (survey)
#380282
ΔE00 5.89
Dark Indigo
#1F0954
ΔE00 6.47
Plum Purple
#4E0550
ΔE00 6.70
Dark Violet
#34013F
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#420E66 #32660E
analogous
#160E66 #420E66 #660E5E
triadic
#420E66 #66420E #0E6642
tetradic
#420E66 #66160E #32660E #0E5E66
square
#420E66 #66160E #32660E #0E5E66
split-complementary
#420E66 #5E660E #0E6616
monochromatic
#11041B #1F0730 #420E66 #65159C #881DD2
Accessibility & contrast
On white
14.13
#420E66 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#420E66 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #420E66
14.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##420E66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##420E66 | 1.00 | 14.13 | 1.49 | 14.13 |
| #FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002B64
Tritanopia (blue-blind)
#3B263B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #420e66; /* rgb */ color: rgb(66, 14, 102); /* oklch */ color: oklch(30.8% 0.141 306.1);
Tailwind
colors: {
custom: {
50: '#7b5592',
500: '#420e66',
950: '#000000',
},
}SCSS
$custom: #420e66; $custom-light: #7b5592; $custom-dark: #000000;
JSON
{
"hex": "#420e66",
"rgb": {
"r": 66,
"g": 14,
"b": 102
},
"hsl": {
"h": 275.455,
"s": 75.862,
"l": 22.745
},
"oklch": {
"l": 0.30802,
"c": 0.14093,
"h": 306.1
},
"luminance": 0.02432
}Semantic roles & 50–950 ramp
primary
#420E66
secondary
#5E9F31
accent
#F23583
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E