#422196#422196
#422196 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.176 H 287.5°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #422196 |
|---|---|
| RGB | rgb(66, 33, 150) |
| HSL | hsl(257, 64%, 36%) |
| HSV | hsv(257, 78%, 59%) |
| CMYK | cmyk(56%, 78%, 0%, 41.2%) |
| CIE-LAB | lab(25.10, 44.62, -58.22) |
| CIE-LCH | lch(25.10, 73.35, 307.47°) |
| OKLab | oklab(37.44% 0.0527 -0.1675) |
| OKLCH | oklch(37.44% 0.176 287.5) |
| XYZ | xyz(8.2940, 4.4475, 29.2697) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.04
Royal
#0C1793
ΔE00 5.52
Indigo (survey)
#380282
ΔE00 5.56
Indigo
#4B0082
ΔE00 5.78
Ultramarine
#2000B1
ΔE00 6.04
Cobalt Blue
#030AA7
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422196 #759621
analogous
#213A96 #422196 #7C2196
triadic
#422196 #964221 #219642
tetradic
#422196 #96213A #759621 #21967C
square
#422196 #96213A #759621 #21967C
split-complementary
#422196 #967C21 #3A9621
monochromatic
#160B32 #2C1664 #422196 #582CC8 #7C57DA
Accessibility & contrast
On white
11.11
#422196 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#422196 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422196
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422196 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422196 | 1.00 | 11.11 | 1.89 | 11.11 |
| #FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#1E425B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #422196; /* rgb */ color: rgb(66, 33, 150); /* oklch */ color: oklch(37.4% 0.176 287.5);
Tailwind
colors: {
custom: {
50: '#8061b6',
500: '#422196',
950: '#000000',
},
}SCSS
$custom: #422196; $custom-light: #8061b6; $custom-dark: #000000;
JSON
{
"hex": "#422196",
"rgb": {
"r": 66,
"g": 33,
"b": 150
},
"hsl": {
"h": 256.923,
"s": 63.934,
"l": 35.882
},
"oklch": {
"l": 0.37436,
"c": 0.17563,
"h": 287.5
},
"luminance": 0.04448
}Semantic roles & 50–950 ramp
primary
#422196
secondary
#A0BE55
accent
#E741B8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980