#422293#422293
#422293 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.171 H 288.0°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).
Color values
| HEX | #422293 |
|---|---|
| RGB | rgb(66, 34, 147) |
| HSL | hsl(257, 62%, 35%) |
| HSV | hsv(257, 77%, 58%) |
| CMYK | cmyk(55.1%, 76.9%, 0%, 42.4%) |
| CIE-LAB | lab(24.98, 43.25, -56.57) |
| CIE-LCH | lch(24.98, 71.21, 307.40°) |
| OKLab | oklab(37.26% 0.0528 -0.1627) |
| OKLCH | oklch(37.26% 0.171 288) |
| XYZ | xyz(8.0837, 4.4085, 28.0231) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.53
Indigo (survey)
#380282
ΔE00 5.53
Royal
#0C1793
ΔE00 5.62
Indigo
#4B0082
ΔE00 5.72
Ultramarine
#2000B1
ΔE00 6.46
Cobalt Blue
#030AA7
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422293 #739322
analogous
#223A93 #422293 #7A2293
triadic
#422293 #934222 #229342
tetradic
#422293 #93223A #739322 #22937A
square
#422293 #93223A #739322 #22937A
split-complementary
#422293 #937A22 #3A9322
monochromatic
#150B30 #2C1761 #422293 #582DC5 #7C57D8
Accessibility & contrast
On white
11.16
#422293 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#422293 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422293
11.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422293 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422293 | 1.00 | 11.16 | 1.88 | 11.16 |
| #FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003891
Tritanopia (blue-blind)
#214259
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #422293; /* rgb */ color: rgb(66, 34, 147); /* oklch */ color: oklch(37.3% 0.171 288.0);
Tailwind
colors: {
custom: {
50: '#8061b4',
500: '#422293',
950: '#000000',
},
}SCSS
$custom: #422293; $custom-light: #8061b4; $custom-dark: #000000;
JSON
{
"hex": "#422293",
"rgb": {
"r": 66,
"g": 34,
"b": 147
},
"hsl": {
"h": 256.991,
"s": 62.431,
"l": 35.49
},
"oklch": {
"l": 0.37262,
"c": 0.17105,
"h": 288
},
"luminance": 0.04409
}Semantic roles & 50–950 ramp
primary
#422293
secondary
#9FBC55
accent
#E542B7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980