#422696#422696
#422696 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.170 H 286.6°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #422696 |
|---|---|
| RGB | rgb(66, 38, 150) |
| HSL | hsl(255, 60%, 37%) |
| HSV | hsv(255, 75%, 59%) |
| CMYK | cmyk(56%, 74.7%, 0%, 41.2%) |
| CIE-LAB | lab(26.00, 42.07, -56.74) |
| CIE-LCH | lch(26.00, 70.63, 306.56°) |
| OKLab | oklab(38.07% 0.0488 -0.1632) |
| OKLCH | oklch(38.07% 0.17 286.6) |
| XYZ | xyz(8.4433, 4.7460, 29.3194) |
| Luminance | 0.0475 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.48
Royal
#0C1793
ΔE00 5.91
Indigo (survey)
#380282
ΔE00 6.48
Indigo
#4B0082
ΔE00 6.66
Ultramarine
#2000B1
ΔE00 6.76
Cobalt Blue
#030AA7
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422696 #7A9626
analogous
#264296 #422696 #7A2696
triadic
#422696 #964226 #269642
tetradic
#422696 #962642 #7A9626 #26967A
square
#422696 #962642 #7A9626 #26967A
split-complementary
#422696 #967A26 #429626
monochromatic
#170D34 #2D1A65 #422696 #5732C7 #7D60D7
Accessibility & contrast
On white
10.77
#422696 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#422696 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422696
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422696 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422696 | 1.00 | 10.77 | 1.95 | 10.77 |
| #FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#1D455C
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #422696; /* rgb */ color: rgb(66, 38, 150); /* oklch */ color: oklch(38.1% 0.170 286.6);
Tailwind
colors: {
custom: {
50: '#8063b6',
500: '#422696',
950: '#000000',
},
}SCSS
$custom: #422696; $custom-light: #8063b6; $custom-dark: #000000;
JSON
{
"hex": "#422696",
"rgb": {
"r": 66,
"g": 38,
"b": 150
},
"hsl": {
"h": 255,
"s": 59.574,
"l": 36.863
},
"oklch": {
"l": 0.38068,
"c": 0.17038,
"h": 286.6
},
"luminance": 0.04746
}Semantic roles & 50–950 ramp
primary
#422696
secondary
#A4BC5C
accent
#E345BB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80