#422697#422697
#422697 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.172 H 286.4°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #422697 |
|---|---|
| RGB | rgb(66, 38, 151) |
| HSL | hsl(255, 60%, 37%) |
| HSV | hsv(255, 75%, 59%) |
| CMYK | cmyk(56.3%, 74.8%, 0%, 40.8%) |
| CIE-LAB | lab(26.09, 42.37, -57.20) |
| CIE-LCH | lch(26.09, 71.18, 306.53°) |
| OKLab | oklab(38.17% 0.0485 -0.1646) |
| OKLCH | oklch(38.17% 0.172 286.4) |
| XYZ | xyz(8.5241, 4.7784, 29.7453) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.35
Royal
#0C1793
ΔE00 5.91
Indigo (survey)
#380282
ΔE00 6.54
Ultramarine
#2000B1
ΔE00 6.67
Cobalt Blue
#030AA7
ΔE00 6.71
Indigo
#4B0082
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422697 #7B9726
analogous
#264397 #422697 #7A2697
triadic
#422697 #974226 #269742
tetradic
#422697 #972643 #7B9726 #26977A
square
#422697 #972643 #7B9726 #26977A
split-complementary
#422697 #977A26 #439726
monochromatic
#170D35 #2D1A66 #422697 #5732C8 #7E60D7
Accessibility & contrast
On white
10.74
#422697 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#422697 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422697
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422697 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422697 | 1.00 | 10.74 | 1.96 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#1C455C
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #422697; /* rgb */ color: rgb(66, 38, 151); /* oklch */ color: oklch(38.2% 0.172 286.4);
Tailwind
colors: {
custom: {
50: '#8063b7',
500: '#422697',
950: '#000000',
},
}SCSS
$custom: #422697; $custom-light: #8063b7; $custom-dark: #000000;
JSON
{
"hex": "#422697",
"rgb": {
"r": 66,
"g": 38,
"b": 151
},
"hsl": {
"h": 254.867,
"s": 59.788,
"l": 37.059
},
"oklch": {
"l": 0.38165,
"c": 0.17159,
"h": 286.4
},
"luminance": 0.04779
}Semantic roles & 50–950 ramp
primary
#422697
secondary
#A5BC5C
accent
#E345BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80