#422397#422397
#422397 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.175 H 286.9°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #422397 |
|---|---|
| RGB | rgb(66, 35, 151) |
| HSL | hsl(256, 62%, 36%) |
| HSV | hsv(256, 77%, 59%) |
| CMYK | cmyk(56.3%, 76.8%, 0%, 40.8%) |
| CIE-LAB | lab(25.55, 43.92, -58.10) |
| CIE-LCH | lch(25.55, 72.83, 307.09°) |
| OKLab | oklab(37.78% 0.0509 -0.1672) |
| OKLCH | oklch(37.78% 0.175 286.9) |
| XYZ | xyz(8.4320, 4.5942, 29.7146) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.04
Royal
#0C1793
ΔE00 5.65
Indigo (survey)
#380282
ΔE00 5.98
Indigo
#4B0082
ΔE00 6.19
Ultramarine
#2000B1
ΔE00 6.22
Cobalt Blue
#030AA7
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422397 #789723
analogous
#233E97 #422397 #7C2397
triadic
#422397 #974223 #239742
tetradic
#422397 #97233E #789723 #23977C
square
#422397 #97233E #789723 #23977C
split-complementary
#422397 #977C23 #3E9723
monochromatic
#170C34 #2C1765 #422397 #582FC9 #7D5BD9
Accessibility & contrast
On white
10.94
#422397 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#422397 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422397
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422397 | 1.00 | 10.94 | 1.92 | 10.94 |
| #FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#1C445C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #422397; /* rgb */ color: rgb(66, 35, 151); /* oklch */ color: oklch(37.8% 0.175 286.9);
Tailwind
colors: {
custom: {
50: '#8062b7',
500: '#422397',
950: '#000000',
},
}SCSS
$custom: #422397; $custom-light: #8062b7; $custom-dark: #000000;
JSON
{
"hex": "#422397",
"rgb": {
"r": 66,
"g": 35,
"b": 151
},
"hsl": {
"h": 256.034,
"s": 62.366,
"l": 36.471
},
"oklch": {
"l": 0.37779,
"c": 0.17477,
"h": 286.9
},
"luminance": 0.04595
}Semantic roles & 50–950 ramp
primary
#422397
secondary
#A2BE58
accent
#E542BA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980