#422597#422597
#422597 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.173 H 286.6°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #422597 |
|---|---|
| RGB | rgb(66, 37, 151) |
| HSL | hsl(255, 61%, 37%) |
| HSV | hsv(255, 75%, 59%) |
| CMYK | cmyk(56.3%, 75.5%, 0%, 40.8%) |
| CIE-LAB | lab(25.91, 42.89, -57.50) |
| CIE-LCH | lch(25.91, 71.74, 306.72°) |
| OKLab | oklab(38.03% 0.0494 -0.1655) |
| OKLCH | oklch(38.03% 0.173 286.6) |
| XYZ | xyz(8.4926, 4.7153, 29.7348) |
| Luminance | 0.0472 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.24
Royal
#0C1793
ΔE00 5.81
Indigo (survey)
#380282
ΔE00 6.34
Ultramarine
#2000B1
ΔE00 6.51
Indigo
#4B0082
ΔE00 6.54
Cobalt Blue
#030AA7
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422597 #7A9725
analogous
#254197 #422597 #7B2597
triadic
#422597 #974225 #259742
tetradic
#422597 #972541 #7A9725 #25977B
square
#422597 #972541 #7A9725 #25977B
split-complementary
#422597 #977B25 #419725
monochromatic
#170D35 #2D1966 #422597 #5731C8 #7D5FD8
Accessibility & contrast
On white
10.81
#422597 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#422597 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422597
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422597 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422597 | 1.00 | 10.81 | 1.94 | 10.81 |
| #FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#1C445C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #422597; /* rgb */ color: rgb(66, 37, 151); /* oklch */ color: oklch(38.0% 0.173 286.6);
Tailwind
colors: {
custom: {
50: '#8063b7',
500: '#422597',
950: '#000000',
},
}SCSS
$custom: #422597; $custom-light: #8063b7; $custom-dark: #000000;
JSON
{
"hex": "#422597",
"rgb": {
"r": 66,
"g": 37,
"b": 151
},
"hsl": {
"h": 255.263,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.38033,
"c": 0.17267,
"h": 286.6
},
"luminance": 0.04716
}Semantic roles & 50–950 ramp
primary
#422597
secondary
#A4BD5B
accent
#E444BB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80