#422199#422199
#422199 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.179 H 286.8°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).
Color values
| HEX | #422199 |
|---|---|
| RGB | rgb(66, 33, 153) |
| HSL | hsl(257, 65%, 36%) |
| HSV | hsv(257, 78%, 60%) |
| CMYK | cmyk(56.9%, 78.4%, 0%, 40%) |
| CIE-LAB | lab(25.40, 45.49, -59.57) |
| CIE-LCH | lch(25.40, 74.95, 307.37°) |
| OKLab | oklab(37.74% 0.0518 -0.1715) |
| OKLCH | oklch(37.74% 0.179 286.8) |
| XYZ | xyz(8.5387, 4.5454, 30.5582) |
| Luminance | 0.0455 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.62
Royal
#0C1793
ΔE00 5.52
Ultramarine
#2000B1
ΔE00 5.78
Indigo (survey)
#380282
ΔE00 5.79
Cobalt Blue
#030AA7
ΔE00 5.97
Indigo
#4B0082
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422199 #789921
analogous
#213C99 #422199 #7E2199
triadic
#422199 #994221 #219942
tetradic
#422199 #99213C #789921 #21997E
square
#422199 #99213C #789921 #21997E
split-complementary
#422199 #997E21 #3C9921
monochromatic
#170B34 #2C1667 #422199 #582CCB #7D59DB
Accessibility & contrast
On white
11.00
#422199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#422199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422199
11.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422199 | 1.00 | 11.00 | 1.91 | 11.00 |
| #FFFFFF | 11.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003997
Tritanopia (blue-blind)
#1A435C
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #422199; /* rgb */ color: rgb(66, 33, 153); /* oklch */ color: oklch(37.7% 0.179 286.8);
Tailwind
colors: {
custom: {
50: '#8161b8',
500: '#422199',
950: '#000000',
},
}SCSS
$custom: #422199; $custom-light: #8161b8; $custom-dark: #000000;
JSON
{
"hex": "#422199",
"rgb": {
"r": 66,
"g": 33,
"b": 153
},
"hsl": {
"h": 256.5,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.37735,
"c": 0.17914,
"h": 286.8
},
"luminance": 0.04546
}Semantic roles & 50–950 ramp
primary
#422199
secondary
#A2BF56
accent
#E840BA
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980