#422CA6#422CA6
#422CA6 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.183 H 282.7°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #422CA6 |
|---|---|
| RGB | rgb(66, 44, 166) |
| HSL | hsl(251, 58%, 41%) |
| HSV | hsv(251, 73%, 65%) |
| CMYK | cmyk(60.2%, 73.5%, 0%, 34.9%) |
| CIE-LAB | lab(28.67, 43.70, -62.09) |
| CIE-LCH | lch(28.67, 75.93, 305.14°) |
| OKLab | oklab(40.43% 0.0403 -0.1789) |
| OKLCH | oklch(40.43% 0.183 282.7) |
| XYZ | xyz(10.0282, 5.7121, 36.6431) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.93
Sapphire (survey)
#2138AB
ΔE00 5.47
Ocean Blue
#4F42B5
ΔE00 6.06
Violet Blue
#510AC9
ΔE00 6.21
Blue With A Hint Of Purple
#533CC6
ΔE00 6.31
Blueberry
#464196
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422CA6 #90A62C
analogous
#2C53A6 #422CA6 #7F2CA6
triadic
#422CA6 #A6422C #2CA642
tetradic
#422CA6 #A62C53 #90A62C #2CA67F
square
#422CA6 #A62C53 #90A62C #2CA67F
split-complementary
#422CA6 #A67F2C #53A62C
monochromatic
#1C1245 #2F1F76 #422CA6 #5B42CD #8573DA
Accessibility & contrast
On white
9.80
#422CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#422CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422CA6
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422CA6 | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #422ca6; /* rgb */ color: rgb(66, 44, 166); /* oklch */ color: oklch(40.4% 0.183 282.7);
Tailwind
colors: {
custom: {
50: '#8268c2',
500: '#422ca6',
950: '#000000',
},
}SCSS
$custom: #422ca6; $custom-light: #8268c2; $custom-dark: #000000;
JSON
{
"hex": "#422ca6",
"rgb": {
"r": 66,
"g": 44,
"b": 166
},
"hsl": {
"h": 250.82,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.40426,
"c": 0.18343,
"h": 282.7
},
"luminance": 0.05713
}Semantic roles & 50–950 ramp
primary
#422CA6
secondary
#B2C16D
accent
#E146C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81