#422393#422393
#422393 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.170 H 287.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).
Color values
| HEX | #422393 |
|---|---|
| RGB | rgb(66, 35, 147) |
| HSL | hsl(257, 62%, 36%) |
| HSV | hsv(257, 76%, 58%) |
| CMYK | cmyk(55.1%, 76.2%, 0%, 42.4%) |
| CIE-LAB | lab(25.16, 42.74, -56.27) |
| CIE-LCH | lch(25.16, 70.67, 307.22°) |
| OKLab | oklab(37.39% 0.052 -0.1618) |
| OKLCH | oklch(37.39% 0.17 287.8) |
| XYZ | xyz(8.1127, 4.4665, 28.0327) |
| Luminance | 0.0447 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.60
Royal
#0C1793
ΔE00 5.69
Indigo (survey)
#380282
ΔE00 5.72
Indigo
#4B0082
ΔE00 5.90
Cobalt Blue
#030AA7
ΔE00 6.58
Ultramarine
#2000B1
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422393 #749323
analogous
#233C93 #422393 #7A2393
triadic
#422393 #934223 #239342
tetradic
#422393 #93233C #749323 #23937A
square
#422393 #93233C #749323 #23937A
split-complementary
#422393 #937A23 #3C9323
monochromatic
#160B30 #2C1762 #422393 #582FC4 #7C59D7
Accessibility & contrast
On white
11.09
#422393 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#422393 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422393
11.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422393 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422393 | 1.00 | 11.09 | 1.89 | 11.09 |
| #FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#214259
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #422393; /* rgb */ color: rgb(66, 35, 147); /* oklch */ color: oklch(37.4% 0.170 287.8);
Tailwind
colors: {
custom: {
50: '#8061b4',
500: '#422393',
950: '#000000',
},
}SCSS
$custom: #422393; $custom-light: #8061b4; $custom-dark: #000000;
JSON
{
"hex": "#422393",
"rgb": {
"r": 66,
"g": 35,
"b": 147
},
"hsl": {
"h": 256.607,
"s": 61.538,
"l": 35.686
},
"oklch": {
"l": 0.37388,
"c": 0.17,
"h": 287.8
},
"luminance": 0.04467
}Semantic roles & 50–950 ramp
primary
#422393
secondary
#A0BC56
accent
#E543B8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980