#422296#422296
#422296 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.175 H 287.3°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #422296 |
|---|---|
| RGB | rgb(66, 34, 150) |
| HSL | hsl(257, 63%, 36%) |
| HSV | hsv(257, 77%, 59%) |
| CMYK | cmyk(56%, 77.3%, 0%, 41.2%) |
| CIE-LAB | lab(25.27, 44.13, -57.93) |
| CIE-LCH | lch(25.27, 72.83, 307.30°) |
| OKLab | oklab(37.56% 0.052 -0.1667) |
| OKLCH | oklch(37.56% 0.175 287.3) |
| XYZ | xyz(8.3222, 4.5039, 29.2791) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.10
Royal
#0C1793
ΔE00 5.58
Indigo (survey)
#380282
ΔE00 5.73
Indigo
#4B0082
ΔE00 5.94
Ultramarine
#2000B1
ΔE00 6.17
Cobalt Blue
#030AA7
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422296 #769622
analogous
#223C96 #422296 #7C2296
triadic
#422296 #964222 #229642
tetradic
#422296 #96223C #769622 #22967C
square
#422296 #96223C #769622 #22967C
split-complementary
#422296 #967C22 #3C9622
monochromatic
#160B32 #2C1764 #422296 #582DC8 #7C59D9
Accessibility & contrast
On white
11.05
#422296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#422296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422296
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422296 | 1.00 | 11.05 | 1.90 | 11.05 |
| #FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#1E435B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #422296; /* rgb */ color: rgb(66, 34, 150); /* oklch */ color: oklch(37.6% 0.175 287.3);
Tailwind
colors: {
custom: {
50: '#8061b6',
500: '#422296',
950: '#000000',
},
}SCSS
$custom: #422296; $custom-light: #8061b6; $custom-dark: #000000;
JSON
{
"hex": "#422296",
"rgb": {
"r": 66,
"g": 34,
"b": 150
},
"hsl": {
"h": 256.552,
"s": 63.043,
"l": 36.078
},
"oklch": {
"l": 0.37557,
"c": 0.17462,
"h": 287.3
},
"luminance": 0.04504
}Semantic roles & 50–950 ramp
primary
#422296
secondary
#A1BE56
accent
#E642B9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980