#422699#422699
#422699 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.174 H 286.0°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #422699 |
|---|---|
| RGB | rgb(66, 38, 153) |
| HSL | hsl(255, 60%, 37%) |
| HSV | hsv(255, 75%, 60%) |
| CMYK | cmyk(56.9%, 75.2%, 0%, 40%) |
| CIE-LAB | lab(26.29, 42.97, -58.11) |
| CIE-LCH | lch(26.29, 72.27, 306.48°) |
| OKLab | oklab(38.36% 0.0481 -0.1672) |
| OKLCH | oklch(38.36% 0.174 286) |
| XYZ | xyz(8.6879, 4.8439, 30.6080) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.10
Royal
#0C1793
ΔE00 5.91
Ultramarine
#2000B1
ΔE00 6.51
Cobalt Blue
#030AA7
ΔE00 6.60
Indigo (survey)
#380282
ΔE00 6.67
Indigo
#4B0082
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422699 #7D9926
analogous
#264399 #422699 #7C2699
triadic
#422699 #994226 #269942
tetradic
#422699 #992643 #7D9926 #26997C
square
#422699 #992643 #7D9926 #26997C
split-complementary
#422699 #997C26 #439926
monochromatic
#180E37 #2D1A68 #422699 #5732CA #7E62D8
Accessibility & contrast
On white
10.67
#422699 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#422699 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422699
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422699 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422699 | 1.00 | 10.67 | 1.97 | 10.67 |
| #FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#19465D
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #422699; /* rgb */ color: rgb(66, 38, 153); /* oklch */ color: oklch(38.4% 0.174 286.0);
Tailwind
colors: {
custom: {
50: '#8064b8',
500: '#422699',
950: '#000000',
},
}SCSS
$custom: #422699; $custom-light: #8064b8; $custom-dark: #000000;
JSON
{
"hex": "#422699",
"rgb": {
"r": 66,
"g": 38,
"b": 153
},
"hsl": {
"h": 254.609,
"s": 60.209,
"l": 37.451
},
"oklch": {
"l": 0.38358,
"c": 0.17402,
"h": 286
},
"luminance": 0.04844
}Semantic roles & 50–950 ramp
primary
#422699
secondary
#A6BD5E
accent
#E344BD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80