#422C8E#422C8E
#422C8E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.153 H 287.1°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #422C8E |
|---|---|
| RGB | rgb(66, 44, 142) |
| HSL | hsl(253, 53%, 36%) |
| HSV | hsv(253, 69%, 56%) |
| CMYK | cmyk(53.5%, 69%, 0%, 44.3%) |
| CIE-LAB | lab(26.48, 36.27, -51.01) |
| CIE-LCH | lch(26.48, 62.59, 305.41°) |
| OKLab | oklab(38.19% 0.045 -0.1465) |
| OKLCH | oklch(38.19% 0.153 287.1) |
| XYZ | xyz(8.0285, 4.9122, 26.1111) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.07
Blueberry
#464196
ΔE00 6.04
Indigo Blue
#3A18B1
ΔE00 6.38
Rebeccapurple
#663399
ΔE00 6.77
Royal
#0C1793
ΔE00 6.91
Sapphire (survey)
#2138AB
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422C8E #788E2C
analogous
#2C478E #422C8E #732C8E
triadic
#422C8E #8E422C #2C8E42
tetradic
#422C8E #8E2C47 #788E2C #2C8E73
square
#422C8E #8E2C47 #788E2C #2C8E73
split-complementary
#422C8E #8E732C #478E2C
monochromatic
#170F31 #2C1E5F #422C8E #583ABD #7D65CF
Accessibility & contrast
On white
10.59
#422C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#422C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422C8E
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422C8E | 1.00 | 10.59 | 1.98 | 10.59 |
| #FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#254559
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #422c8e; /* rgb */ color: rgb(66, 44, 142); /* oklch */ color: oklch(38.2% 0.153 287.1);
Tailwind
colors: {
custom: {
50: '#7e67b0',
500: '#422c8e',
950: '#000000',
},
}SCSS
$custom: #422c8e; $custom-light: #7e67b0; $custom-dark: #000000;
JSON
{
"hex": "#422c8e",
"rgb": {
"r": 66,
"g": 44,
"b": 142
},
"hsl": {
"h": 253.469,
"s": 52.688,
"l": 36.471
},
"oklch": {
"l": 0.3819,
"c": 0.15321,
"h": 287.1
},
"luminance": 0.04913
}Semantic roles & 50–950 ramp
primary
#422C8E
secondary
#A2B660
accent
#DC4CBC
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0611
muted
#7C7A80