#422292#422292
#422292 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.170 H 288.2°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).
Color values
| HEX | #422292 |
|---|---|
| RGB | rgb(66, 34, 146) |
| HSL | hsl(257, 62%, 35%) |
| HSV | hsv(257, 77%, 57%) |
| CMYK | cmyk(54.8%, 76.7%, 0%, 42.7%) |
| CIE-LAB | lab(24.88, 42.96, -56.11) |
| CIE-LCH | lch(24.88, 70.67, 307.44°) |
| OKLab | oklab(37.16% 0.0531 -0.1614) |
| OKLCH | oklch(37.16% 0.17 288.2) |
| XYZ | xyz(8.0056, 4.3772, 27.6116) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.67
Indigo (survey)
#380282
ΔE00 5.47
Royal
#0C1793
ΔE00 5.64
Indigo
#4B0082
ΔE00 5.65
Cobalt Blue
#030AA7
ΔE00 6.54
Ultramarine
#2000B1
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422292 #729222
analogous
#223A92 #422292 #7A2292
triadic
#422292 #924222 #229242
tetradic
#422292 #92223A #729222 #22927A
square
#422292 #92223A #729222 #22927A
split-complementary
#422292 #927A22 #3A9222
monochromatic
#150B2F #2C1660 #422292 #582EC4 #7C57D8
Accessibility & contrast
On white
11.20
#422292 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#422292 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422292
11.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422292 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422292 | 1.00 | 11.20 | 1.88 | 11.20 |
| #FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#224158
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #422292; /* rgb */ color: rgb(66, 34, 146); /* oklch */ color: oklch(37.2% 0.170 288.2);
Tailwind
colors: {
custom: {
50: '#8061b3',
500: '#422292',
950: '#000000',
},
}SCSS
$custom: #422292; $custom-light: #8061b3; $custom-dark: #000000;
JSON
{
"hex": "#422292",
"rgb": {
"r": 66,
"g": 34,
"b": 146
},
"hsl": {
"h": 257.143,
"s": 62.222,
"l": 35.294
},
"oklch": {
"l": 0.37164,
"c": 0.16986,
"h": 288.2
},
"luminance": 0.04378
}Semantic roles & 50–950 ramp
primary
#422292
secondary
#9EBC54
accent
#E543B7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980