#422291#422291
#422291 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.169 H 288.4°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).
Color values
| HEX | #422291 |
|---|---|
| RGB | rgb(66, 34, 145) |
| HSL | hsl(257, 62%, 35%) |
| HSV | hsv(257, 77%, 57%) |
| CMYK | cmyk(54.5%, 76.6%, 0%, 43.1%) |
| CIE-LAB | lab(24.78, 42.67, -55.65) |
| CIE-LCH | lch(24.78, 70.12, 307.48°) |
| OKLab | oklab(37.07% 0.0533 -0.16) |
| OKLCH | oklch(37.07% 0.169 288.4) |
| XYZ | xyz(7.9281, 4.3463, 27.2037) |
| Luminance | 0.0435 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.82
Indigo (survey)
#380282
ΔE00 5.42
Indigo
#4B0082
ΔE00 5.59
Royal
#0C1793
ΔE00 5.67
Cobalt Blue
#030AA7
ΔE00 6.62
Ultramarine
#2000B1
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422291 #719122
analogous
#223A91 #422291 #792291
triadic
#422291 #914222 #229142
tetradic
#422291 #91223A #719122 #229179
square
#422291 #91223A #719122 #229179
split-complementary
#422291 #917922 #3A9122
monochromatic
#150B2E #2B165F #422291 #592EC3 #7B56D7
Accessibility & contrast
On white
11.23
#422291 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#422291 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422291
11.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422291 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422291 | 1.00 | 11.23 | 1.87 | 11.23 |
| #FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#234158
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #422291; /* rgb */ color: rgb(66, 34, 145); /* oklch */ color: oklch(37.1% 0.169 288.4);
Tailwind
colors: {
custom: {
50: '#7f61b2',
500: '#422291',
950: '#000000',
},
}SCSS
$custom: #422291; $custom-light: #7f61b2; $custom-dark: #000000;
JSON
{
"hex": "#422291",
"rgb": {
"r": 66,
"g": 34,
"b": 145
},
"hsl": {
"h": 257.297,
"s": 62.011,
"l": 35.098
},
"oklch": {
"l": 0.37067,
"c": 0.16867,
"h": 288.4
},
"luminance": 0.04347
}Semantic roles & 50–950 ramp
primary
#422291
secondary
#9DBB53
accent
#E543B6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980