#422796#422796
#422796 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.169 H 286.5°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #422796 |
|---|---|
| RGB | rgb(66, 39, 150) |
| HSL | hsl(255, 59%, 37%) |
| HSV | hsv(255, 74%, 59%) |
| CMYK | cmyk(56%, 74%, 0%, 41.2%) |
| CIE-LAB | lab(26.19, 41.53, -56.43) |
| CIE-LCH | lch(26.19, 70.06, 306.36°) |
| OKLab | oklab(38.2% 0.048 -0.1623) |
| OKLCH | oklch(38.2% 0.169 286.5) |
| XYZ | xyz(8.4757, 4.8108, 29.3302) |
| Luminance | 0.0481 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.60
Royal
#0C1793
ΔE00 6.02
Darkslateblue
#483D8B
ΔE00 6.65
Indigo (survey)
#380282
ΔE00 6.68
Indigo
#4B0082
ΔE00 6.86
Cobalt Blue
#030AA7
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422796 #7B9627
analogous
#274396 #422796 #7A2796
triadic
#422796 #964227 #279642
tetradic
#422796 #962743 #7B9627 #27967A
square
#422796 #962743 #7B9627 #27967A
split-complementary
#422796 #967A27 #439627
monochromatic
#170E35 #2D1A65 #422796 #5734C7 #7E61D6
Accessibility & contrast
On white
10.70
#422796 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#422796 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422796
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422796 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422796 | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#1D455C
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #422796; /* rgb */ color: rgb(66, 39, 150); /* oklch */ color: oklch(38.2% 0.169 286.5);
Tailwind
colors: {
custom: {
50: '#8064b6',
500: '#422796',
950: '#000000',
},
}SCSS
$custom: #422796; $custom-light: #8064b6; $custom-dark: #000000;
JSON
{
"hex": "#422796",
"rgb": {
"r": 66,
"g": 39,
"b": 150
},
"hsl": {
"h": 254.595,
"s": 58.73,
"l": 37.059
},
"oklch": {
"l": 0.38203,
"c": 0.16927,
"h": 286.5
},
"luminance": 0.04811
}Semantic roles & 50–950 ramp
primary
#422796
secondary
#A5BC5D
accent
#E246BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80