#422092#422092
#422092 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.172 H 288.5°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).
Color values
| HEX | #422092 |
|---|---|
| RGB | rgb(66, 32, 146) |
| HSL | hsl(258, 64%, 35%) |
| HSV | hsv(258, 78%, 57%) |
| CMYK | cmyk(54.8%, 78.1%, 0%, 42.7%) |
| CIE-LAB | lab(24.53, 43.96, -56.68) |
| CIE-LCH | lch(24.53, 71.73, 307.79°) |
| OKLab | oklab(36.92% 0.0546 -0.163) |
| OKLCH | oklch(36.92% 0.172 288.5) |
| XYZ | xyz(7.9501, 4.2662, 27.5931) |
| Luminance | 0.0427 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.56
Indigo (survey)
#380282
ΔE00 5.11
Indigo
#4B0082
ΔE00 5.31
Royal
#0C1793
ΔE00 5.52
Ultramarine
#2000B1
ΔE00 6.31
Cobalt Blue
#030AA7
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422092 #709220
analogous
#203792 #422092 #7B2092
triadic
#422092 #924220 #209242
tetradic
#422092 #922037 #709220 #20927B
square
#422092 #922037 #709220 #20927B
split-complementary
#422092 #927B20 #379220
monochromatic
#150A2E #2B1560 #422092 #592BC4 #7B53D9
Accessibility & contrast
On white
11.33
#422092 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#422092 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422092
11.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422092 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422092 | 1.00 | 11.33 | 1.85 | 11.33 |
| #FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#224058
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #422092; /* rgb */ color: rgb(66, 32, 146); /* oklch */ color: oklch(36.9% 0.172 288.5);
Tailwind
colors: {
custom: {
50: '#8060b3',
500: '#422092',
950: '#000000',
},
}SCSS
$custom: #422092; $custom-light: #8060b3; $custom-dark: #000000;
JSON
{
"hex": "#422092",
"rgb": {
"r": 66,
"g": 32,
"b": 146
},
"hsl": {
"h": 257.895,
"s": 64.045,
"l": 34.902
},
"oklch": {
"l": 0.3692,
"c": 0.17193,
"h": 288.5
},
"luminance": 0.04267
}Semantic roles & 50–950 ramp
primary
#422092
secondary
#9DBD51
accent
#E741B5
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980