#422099#422099
#422099 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.180 H 287.0°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #422099 |
|---|---|
| RGB | rgb(66, 32, 153) |
| HSL | hsl(257, 65%, 36%) |
| HSV | hsv(257, 79%, 60%) |
| CMYK | cmyk(56.9%, 79.1%, 0%, 40%) |
| CIE-LAB | lab(25.23, 45.97, -59.84) |
| CIE-LCH | lch(25.23, 75.46, 307.53°) |
| OKLab | oklab(37.62% 0.0525 -0.1723) |
| OKLCH | oklch(37.62% 0.18 287) |
| XYZ | xyz(8.5113, 4.4907, 30.5491) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.56
Royal
#0C1793
ΔE00 5.47
Indigo (survey)
#380282
ΔE00 5.64
Ultramarine
#2000B1
ΔE00 5.65
Cobalt Blue
#030AA7
ΔE00 5.86
Indigo
#4B0082
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422099 #779920
analogous
#203B99 #422099 #7F2099
triadic
#422099 #994220 #209942
tetradic
#422099 #99203B #779920 #20997F
square
#422099 #99203B #779920 #20997F
split-complementary
#422099 #997F20 #3B9920
monochromatic
#160B34 #2C1566 #422099 #582BCC #7D57DC
Accessibility & contrast
On white
11.06
#422099 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#422099 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422099
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422099 | 1.00 | 11.06 | 1.90 | 11.06 |
| #FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#1A435C
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #422099; /* rgb */ color: rgb(66, 32, 153); /* oklch */ color: oklch(37.6% 0.180 287.0);
Tailwind
colors: {
custom: {
50: '#8160b8',
500: '#422099',
950: '#000000',
},
}SCSS
$custom: #422099; $custom-light: #8160b8; $custom-dark: #000000;
JSON
{
"hex": "#422099",
"rgb": {
"r": 66,
"g": 32,
"b": 153
},
"hsl": {
"h": 256.86,
"s": 65.405,
"l": 36.275
},
"oklch": {
"l": 0.37619,
"c": 0.1801,
"h": 287
},
"luminance": 0.04491
}Semantic roles & 50–950 ramp
primary
#422099
secondary
#A2C055
accent
#E83FB9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980