#422192#422192
#422192 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.171 H 288.4°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).
Color values
| HEX | #422192 |
|---|---|
| RGB | rgb(66, 33, 146) |
| HSL | hsl(258, 63%, 35%) |
| HSV | hsv(258, 77%, 57%) |
| CMYK | cmyk(54.8%, 77.4%, 0%, 42.7%) |
| CIE-LAB | lab(24.71, 43.46, -56.40) |
| CIE-LCH | lch(24.71, 71.20, 307.62°) |
| OKLab | oklab(37.04% 0.0539 -0.1622) |
| OKLCH | oklch(37.04% 0.171 288.4) |
| XYZ | xyz(7.9774, 4.3209, 27.6022) |
| Luminance | 0.0432 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.61
Indigo (survey)
#380282
ΔE00 5.29
Indigo
#4B0082
ΔE00 5.48
Royal
#0C1793
ΔE00 5.58
Cobalt Blue
#030AA7
ΔE00 6.43
Ultramarine
#2000B1
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422192 #719221
analogous
#213992 #422192 #7A2192
triadic
#422192 #924221 #219242
tetradic
#422192 #922139 #719221 #21927A
square
#422192 #922139 #719221 #21927A
split-complementary
#422192 #927A21 #399221
monochromatic
#150A2E #2B1660 #422192 #592CC4 #7B55D9
Accessibility & contrast
On white
11.26
#422192 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#422192 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422192
11.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422192 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422192 | 1.00 | 11.26 | 1.86 | 11.26 |
| #FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.26 | 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: #422192; /* rgb */ color: rgb(66, 33, 146); /* oklch */ color: oklch(37.0% 0.171 288.4);
Tailwind
colors: {
custom: {
50: '#8060b3',
500: '#422192',
950: '#000000',
},
}SCSS
$custom: #422192; $custom-light: #8060b3; $custom-dark: #000000;
JSON
{
"hex": "#422192",
"rgb": {
"r": 66,
"g": 33,
"b": 146
},
"hsl": {
"h": 257.522,
"s": 63.128,
"l": 35.098
},
"oklch": {
"l": 0.37041,
"c": 0.17091,
"h": 288.4
},
"luminance": 0.04321
}Semantic roles & 50–950 ramp
primary
#422192
secondary
#9DBC53
accent
#E642B6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980