#422394#422394
#422394 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.171 H 287.6°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #422394 |
|---|---|
| RGB | rgb(66, 35, 148) |
| HSL | hsl(256, 62%, 36%) |
| HSV | hsv(256, 76%, 58%) |
| CMYK | cmyk(55.4%, 76.4%, 0%, 42%) |
| CIE-LAB | lab(25.25, 43.04, -56.73) |
| CIE-LCH | lch(25.25, 71.21, 307.19°) |
| OKLab | oklab(37.49% 0.0517 -0.1632) |
| OKLCH | oklch(37.49% 0.171 287.6) |
| XYZ | xyz(8.1915, 4.4980, 28.4478) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.46
Royal
#0C1793
ΔE00 5.67
Indigo (survey)
#380282
ΔE00 5.78
Indigo
#4B0082
ΔE00 5.97
Ultramarine
#2000B1
ΔE00 6.49
Cobalt Blue
#030AA7
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422394 #759423
analogous
#233C94 #422394 #7A2394
triadic
#422394 #944223 #239442
tetradic
#422394 #94233C #759423 #23947A
square
#422394 #94233C #759423 #23947A
split-complementary
#422394 #947A23 #3C9423
monochromatic
#160C31 #2C1763 #422394 #582FC5 #7C5AD8
Accessibility & contrast
On white
11.05
#422394 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#422394 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422394
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422394 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422394 | 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)
#003E97
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#20425A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #422394; /* rgb */ color: rgb(66, 35, 148); /* oklch */ color: oklch(37.5% 0.171 287.6);
Tailwind
colors: {
custom: {
50: '#8062b4',
500: '#422394',
950: '#000000',
},
}SCSS
$custom: #422394; $custom-light: #8062b4; $custom-dark: #000000;
JSON
{
"hex": "#422394",
"rgb": {
"r": 66,
"g": 35,
"b": 148
},
"hsl": {
"h": 256.46,
"s": 61.749,
"l": 35.882
},
"oklch": {
"l": 0.37485,
"c": 0.17119,
"h": 287.6
},
"luminance": 0.04498
}Semantic roles & 50–950 ramp
primary
#422394
secondary
#A0BC57
accent
#E543B8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980