#422399#422399
#422399 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.177 H 286.5°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).
Color values
| HEX | #422399 |
|---|---|
| RGB | rgb(66, 35, 153) |
| HSL | hsl(256, 63%, 37%) |
| HSV | hsv(256, 77%, 60%) |
| CMYK | cmyk(56.9%, 77.1%, 0%, 40%) |
| CIE-LAB | lab(25.74, 44.51, -59.00) |
| CIE-LCH | lch(25.74, 73.91, 307.03°) |
| OKLab | oklab(37.98% 0.0504 -0.1698) |
| OKLCH | oklch(37.98% 0.177 286.5) |
| XYZ | xyz(8.5958, 4.6597, 30.5773) |
| Luminance | 0.0466 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.78
Royal
#0C1793
ΔE00 5.66
Ultramarine
#2000B1
ΔE00 6.05
Indigo (survey)
#380282
ΔE00 6.13
Cobalt Blue
#030AA7
ΔE00 6.20
Indigo
#4B0082
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422399 #7A9923
analogous
#233F99 #422399 #7D2399
triadic
#422399 #994223 #239942
tetradic
#422399 #99233F #7A9923 #23997D
square
#422399 #99233F #7A9923 #23997D
split-complementary
#422399 #997D23 #3F9923
monochromatic
#170C35 #2D1867 #422399 #572ECB #7D5DDA
Accessibility & contrast
On white
10.87
#422399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#422399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422399
10.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422399 | 1.00 | 10.87 | 1.93 | 10.87 |
| #FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#1A445D
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #422399; /* rgb */ color: rgb(66, 35, 153); /* oklch */ color: oklch(38.0% 0.177 286.5);
Tailwind
colors: {
custom: {
50: '#8162b8',
500: '#422399',
950: '#000000',
},
}SCSS
$custom: #422399; $custom-light: #8162b8; $custom-dark: #000000;
JSON
{
"hex": "#422399",
"rgb": {
"r": 66,
"g": 35,
"b": 153
},
"hsl": {
"h": 255.763,
"s": 62.766,
"l": 36.863
},
"oklch": {
"l": 0.37976,
"c": 0.17715,
"h": 286.5
},
"luminance": 0.0466
}Semantic roles & 50–950 ramp
primary
#422399
secondary
#A4BE59
accent
#E642BB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980