#422495#422495
#422495 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.171 H 287.2°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #422495 |
|---|---|
| RGB | rgb(66, 36, 149) |
| HSL | hsl(256, 61%, 36%) |
| HSV | hsv(256, 76%, 58%) |
| CMYK | cmyk(55.7%, 75.8%, 0%, 41.6%) |
| CIE-LAB | lab(25.53, 42.82, -56.89) |
| CIE-LCH | lch(25.53, 71.20, 306.97°) |
| OKLab | oklab(37.71% 0.0507 -0.1637) |
| OKLCH | oklch(37.71% 0.171 287.2) |
| XYZ | xyz(8.3008, 4.5895, 28.8764) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.41
Royal
#0C1793
ΔE00 5.74
Indigo (survey)
#380282
ΔE00 6.03
Indigo
#4B0082
ΔE00 6.22
Ultramarine
#2000B1
ΔE00 6.54
Cobalt Blue
#030AA7
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422495 #779524
analogous
#243F95 #422495 #7B2495
triadic
#422495 #954224 #249542
tetradic
#422495 #95243F #779524 #24957B
square
#422495 #95243F #779524 #24957B
split-complementary
#422495 #957B24 #3F9524
monochromatic
#160C32 #2C1864 #422495 #5830C6 #7D5CD8
Accessibility & contrast
On white
10.95
#422495 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#422495 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422495
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422495 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422495 | 1.00 | 10.95 | 1.92 | 10.95 |
| #FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#1E435B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #422495; /* rgb */ color: rgb(66, 36, 149); /* oklch */ color: oklch(37.7% 0.171 287.2);
Tailwind
colors: {
custom: {
50: '#8062b5',
500: '#422495',
950: '#000000',
},
}SCSS
$custom: #422495; $custom-light: #8062b5; $custom-dark: #000000;
JSON
{
"hex": "#422495",
"rgb": {
"r": 66,
"g": 36,
"b": 149
},
"hsl": {
"h": 255.929,
"s": 61.081,
"l": 36.275
},
"oklch": {
"l": 0.3771,
"c": 0.17133,
"h": 287.2
},
"luminance": 0.0459
}Semantic roles & 50–950 ramp
primary
#422495
secondary
#A2BC59
accent
#E444BA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80