#422694#422694
#422694 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.168 H 287.1°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #422694 |
|---|---|
| RGB | rgb(66, 38, 148) |
| HSL | hsl(255, 59%, 36%) |
| HSV | hsv(255, 74%, 58%) |
| CMYK | cmyk(55.4%, 74.3%, 0%, 42%) |
| CIE-LAB | lab(25.81, 41.47, -55.82) |
| CIE-LCH | lch(25.81, 69.54, 306.61°) |
| OKLab | oklab(37.88% 0.0493 -0.1605) |
| OKLCH | oklch(37.88% 0.168 287.1) |
| XYZ | xyz(8.2836, 4.6822, 28.4785) |
| Luminance | 0.0468 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.74
Royal
#0C1793
ΔE00 5.94
Indigo (survey)
#380282
ΔE00 6.37
Indigo
#4B0082
ΔE00 6.53
Darkslateblue
#483D8B
ΔE00 6.77
Cobalt Blue
#030AA7
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422694 #789426
analogous
#264194 #422694 #792694
triadic
#422694 #944226 #269442
tetradic
#422694 #942641 #789426 #269479
square
#422694 #942641 #789426 #269479
split-complementary
#422694 #947926 #419426
monochromatic
#170D33 #2C1963 #422694 #5833C5 #7D5FD6
Accessibility & contrast
On white
10.84
#422694 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#422694 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422694
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422694 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422694 | 1.00 | 10.84 | 1.94 | 10.84 |
| #FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#1F445B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #422694; /* rgb */ color: rgb(66, 38, 148); /* oklch */ color: oklch(37.9% 0.168 287.1);
Tailwind
colors: {
custom: {
50: '#8063b4',
500: '#422694',
950: '#000000',
},
}SCSS
$custom: #422694; $custom-light: #8063b4; $custom-dark: #000000;
JSON
{
"hex": "#422694",
"rgb": {
"r": 66,
"g": 38,
"b": 148
},
"hsl": {
"h": 255.273,
"s": 59.14,
"l": 36.471
},
"oklch": {
"l": 0.37877,
"c": 0.16793,
"h": 287.1
},
"luminance": 0.04683
}Semantic roles & 50–950 ramp
primary
#422694
secondary
#A2BB5B
accent
#E245BA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80