#422097#422097
#422097 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.178 H 287.4°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).
Color values
| HEX | #422097 |
|---|---|
| RGB | rgb(66, 32, 151) |
| HSL | hsl(257, 65%, 36%) |
| HSV | hsv(257, 79%, 59%) |
| CMYK | cmyk(56.3%, 78.8%, 0%, 40.8%) |
| CIE-LAB | lab(25.03, 45.40, -58.95) |
| CIE-LCH | lch(25.03, 74.40, 307.60°) |
| OKLab | oklab(37.42% 0.0532 -0.1696) |
| OKLCH | oklch(37.42% 0.178 287.4) |
| XYZ | xyz(8.3475, 4.4252, 29.6864) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.84
Royal
#0C1793
ΔE00 5.46
Indigo (survey)
#380282
ΔE00 5.47
Indigo
#4B0082
ΔE00 5.70
Ultramarine
#2000B1
ΔE00 5.82
Cobalt Blue
#030AA7
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422097 #759720
analogous
#203997 #422097 #7D2097
triadic
#422097 #974220 #209742
tetradic
#422097 #972039 #759720 #20977D
square
#422097 #972039 #759720 #20977D
split-complementary
#422097 #977D20 #399720
monochromatic
#160B32 #2C1564 #422097 #582BC9 #7C56DB
Accessibility & contrast
On white
11.14
#422097 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#422097 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422097
11.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422097 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422097 | 1.00 | 11.14 | 1.89 | 11.14 |
| #FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#1D425B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #422097; /* rgb */ color: rgb(66, 32, 151); /* oklch */ color: oklch(37.4% 0.178 287.4);
Tailwind
colors: {
custom: {
50: '#8160b7',
500: '#422097',
950: '#000000',
},
}SCSS
$custom: #422097; $custom-light: #8160b7; $custom-dark: #000000;
JSON
{
"hex": "#422097",
"rgb": {
"r": 66,
"g": 32,
"b": 151
},
"hsl": {
"h": 257.143,
"s": 65.027,
"l": 35.882
},
"oklch": {
"l": 0.37418,
"c": 0.17778,
"h": 287.4
},
"luminance": 0.04426
}Semantic roles & 50–950 ramp
primary
#422097
secondary
#A0BF54
accent
#E840B8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980