#422C85#422C85
#422C85 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.4% C 0.141 H 289.1°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).
Color values
| HEX | #422C85 |
|---|---|
| RGB | rgb(66, 44, 133) |
| HSL | hsl(255, 50%, 35%) |
| HSV | hsv(255, 67%, 52%) |
| CMYK | cmyk(50.4%, 66.9%, 0%, 47.8%) |
| CIE-LAB | lab(25.72, 33.47, -46.65) |
| CIE-LCH | lch(25.72, 57.42, 305.66°) |
| OKLab | oklab(37.4% 0.0462 -0.1336) |
| OKLCH | oklch(37.4% 0.141 289.1) |
| XYZ | xyz(7.3799, 4.6528, 22.6950) |
| Luminance | 0.0465 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.86
Blueberry
#464196
ΔE00 6.35
Rebeccapurple
#663399
ΔE00 7.06
Midnight Blue
#191970
ΔE00 7.24
Royal
#0C1793
ΔE00 7.56
Indigo
#4B0082
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422C85 #6F852C
analogous
#2C4385 #422C85 #6E2C85
triadic
#422C85 #85422C #2C8542
tetradic
#422C85 #852C43 #6F852C #2C856E
square
#422C85 #852C43 #6F852C #2C856E
split-complementary
#422C85 #856E2C #43852C
monochromatic
#140E29 #2B1D57 #422C85 #593BB3 #7B61CB
Accessibility & contrast
On white
10.88
#422C85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#422C85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422C85
10.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422C85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422C85 | 1.00 | 10.88 | 1.93 | 10.88 |
| #FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#2B4254
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #422c85; /* rgb */ color: rgb(66, 44, 133); /* oklch */ color: oklch(37.4% 0.141 289.1);
Tailwind
colors: {
custom: {
50: '#7d66a9',
500: '#422c85',
950: '#000000',
},
}SCSS
$custom: #422c85; $custom-light: #7d66a9; $custom-dark: #000000;
JSON
{
"hex": "#422c85",
"rgb": {
"r": 66,
"g": 44,
"b": 133
},
"hsl": {
"h": 254.831,
"s": 50.282,
"l": 34.706
},
"oklch": {
"l": 0.37404,
"c": 0.14141,
"h": 289.1
},
"luminance": 0.04653
}Semantic roles & 50–950 ramp
primary
#422C85
secondary
#9CB15C
accent
#DA4EB7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F