#420F6A#420F6A
#420F6A is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.3% C 0.144 H 304.1°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).
Color values
| HEX | #420F6A |
|---|---|
| RGB | rgb(66, 15, 106) |
| HSL | hsl(274, 75%, 24%) |
| HSV | hsv(274, 86%, 42%) |
| CMYK | cmyk(37.7%, 85.8%, 0%, 58.4%) |
| CIE-LAB | lab(18.10, 40.59, -41.81) |
| CIE-LCH | lch(18.10, 58.27, 314.15°) |
| OKLab | oklab(31.26% 0.0809 -0.1193) |
| OKLCH | oklch(31.26% 0.144 304.1) |
| XYZ | xyz(5.0185, 2.5405, 13.8589) |
| Luminance | 0.0254 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.39
Indigo
#4B0082
ΔE00 4.33
Indigo (survey)
#380282
ΔE00 5.20
Dark Indigo
#1F0954
ΔE00 6.57
Plum Purple
#4E0550
ΔE00 7.40
Midnight Blue
#191970
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#420F6A #376A0F
analogous
#140F6A #420F6A #6A0F64
triadic
#420F6A #6A420F #0F6A42
tetradic
#420F6A #6A140F #376A0F #0F646A
square
#420F6A #6A140F #376A0F #0F646A
split-complementary
#420F6A #646A0F #0F6A14
monochromatic
#11041B #210734 #420F6A #6317A0 #851ED5
Accessibility & contrast
On white
13.92
#420F6A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#420F6A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #420F6A
13.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##420F6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##420F6A | 1.00 | 13.92 | 1.51 | 13.92 |
| #FFFFFF | 13.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B6C
Deuteranopia (green-blind)
#002C68
Tritanopia (blue-blind)
#3A283D
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #420f6a; /* rgb */ color: rgb(66, 15, 106); /* oklch */ color: oklch(31.3% 0.144 304.1);
Tailwind
colors: {
custom: {
50: '#7b5595',
500: '#420f6a',
950: '#000000',
},
}SCSS
$custom: #420f6a; $custom-light: #7b5595; $custom-dark: #000000;
JSON
{
"hex": "#420f6a",
"rgb": {
"r": 66,
"g": 15,
"b": 106
},
"hsl": {
"h": 273.626,
"s": 75.207,
"l": 23.725
},
"oklch": {
"l": 0.31259,
"c": 0.14412,
"h": 304.1
},
"luminance": 0.02541
}Semantic roles & 50–950 ramp
primary
#420F6A
secondary
#64A232
accent
#F23689
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E