#422396#422396
#422396 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.174 H 287.2°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #422396 |
|---|---|
| RGB | rgb(66, 35, 150) |
| HSL | hsl(256, 62%, 36%) |
| HSV | hsv(256, 77%, 59%) |
| CMYK | cmyk(56%, 76.7%, 0%, 41.2%) |
| CIE-LAB | lab(25.45, 43.63, -57.64) |
| CIE-LCH | lch(25.45, 72.29, 307.12°) |
| OKLab | oklab(37.68% 0.0512 -0.1659) |
| OKLCH | oklch(37.68% 0.174 287.2) |
| XYZ | xyz(8.3512, 4.5619, 29.2887) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.18
Royal
#0C1793
ΔE00 5.65
Indigo (survey)
#380282
ΔE00 5.91
Indigo
#4B0082
ΔE00 6.11
Ultramarine
#2000B1
ΔE00 6.31
Cobalt Blue
#030AA7
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422396 #779623
analogous
#233E96 #422396 #7C2396
triadic
#422396 #964223 #239642
tetradic
#422396 #96233E #779623 #23967C
square
#422396 #96233E #779623 #23967C
split-complementary
#422396 #967C23 #3E9623
monochromatic
#160C33 #2C1764 #422396 #582FC8 #7D5BD9
Accessibility & contrast
On white
10.98
#422396 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#422396 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422396
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422396 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422396 | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#1D435B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #422396; /* rgb */ color: rgb(66, 35, 150); /* oklch */ color: oklch(37.7% 0.174 287.2);
Tailwind
colors: {
custom: {
50: '#8062b6',
500: '#422396',
950: '#000000',
},
}SCSS
$custom: #422396; $custom-light: #8062b6; $custom-dark: #000000;
JSON
{
"hex": "#422396",
"rgb": {
"r": 66,
"g": 35,
"b": 150
},
"hsl": {
"h": 256.174,
"s": 62.162,
"l": 36.275
},
"oklch": {
"l": 0.37681,
"c": 0.17359,
"h": 287.2
},
"luminance": 0.04562
}Semantic roles & 50–950 ramp
primary
#422396
secondary
#A2BD58
accent
#E543B9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980