#422193#422193
#422193 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.172 H 288.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).
Color values
| HEX | #422193 |
|---|---|
| RGB | rgb(66, 33, 147) |
| HSL | hsl(257, 63%, 35%) |
| HSV | hsv(257, 78%, 58%) |
| CMYK | cmyk(55.1%, 77.6%, 0%, 42.4%) |
| CIE-LAB | lab(24.80, 43.75, -56.85) |
| CIE-LCH | lch(24.80, 71.74, 307.58°) |
| OKLab | oklab(37.14% 0.0536 -0.1635) |
| OKLCH | oklch(37.14% 0.172 288.1) |
| XYZ | xyz(8.0555, 4.3521, 28.0137) |
| Luminance | 0.0435 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.46
Indigo (survey)
#380282
ΔE00 5.35
Indigo
#4B0082
ΔE00 5.55
Royal
#0C1793
ΔE00 5.55
Ultramarine
#2000B1
ΔE00 6.33
Cobalt Blue
#030AA7
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422193 #729321
analogous
#213993 #422193 #7B2193
triadic
#422193 #934221 #219342
tetradic
#422193 #932139 #729321 #21937B
square
#422193 #932139 #729321 #21937B
split-complementary
#422193 #937B21 #399321
monochromatic
#150B2F #2C1661 #422193 #582CC5 #7C55D9
Accessibility & contrast
On white
11.23
#422193 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#422193 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422193
11.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422193 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422193 | 1.00 | 11.23 | 1.87 | 11.23 |
| #FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003891
Tritanopia (blue-blind)
#214159
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #422193; /* rgb */ color: rgb(66, 33, 147); /* oklch */ color: oklch(37.1% 0.172 288.1);
Tailwind
colors: {
custom: {
50: '#8060b4',
500: '#422193',
950: '#000000',
},
}SCSS
$custom: #422193; $custom-light: #8060b4; $custom-dark: #000000;
JSON
{
"hex": "#422193",
"rgb": {
"r": 66,
"g": 33,
"b": 147
},
"hsl": {
"h": 257.368,
"s": 63.333,
"l": 35.294
},
"oklch": {
"l": 0.37139,
"c": 0.17209,
"h": 288.1
},
"luminance": 0.04353
}Semantic roles & 50–950 ramp
primary
#422193
secondary
#9EBD53
accent
#E641B7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980