#422297#422297
#422297 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.176 H 287.1°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #422297 |
|---|---|
| RGB | rgb(66, 34, 151) |
| HSL | hsl(256, 63%, 36%) |
| HSV | hsv(256, 77%, 59%) |
| CMYK | cmyk(56.3%, 77.5%, 0%, 40.8%) |
| CIE-LAB | lab(25.37, 44.42, -58.39) |
| CIE-LCH | lch(25.37, 73.36, 307.26°) |
| OKLab | oklab(37.66% 0.0517 -0.168) |
| OKLCH | oklch(37.66% 0.176 287.1) |
| XYZ | xyz(8.4030, 4.5362, 29.7050) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.96
Royal
#0C1793
ΔE00 5.58
Indigo (survey)
#380282
ΔE00 5.80
Indigo
#4B0082
ΔE00 6.02
Ultramarine
#2000B1
ΔE00 6.08
Cobalt Blue
#030AA7
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422297 #779722
analogous
#223D97 #422297 #7D2297
triadic
#422297 #974222 #229742
tetradic
#422297 #97223D #779722 #22977D
square
#422297 #97223D #779722 #22977D
split-complementary
#422297 #977D22 #3D9722
monochromatic
#160C33 #2C1765 #422297 #582DC9 #7D5ADA
Accessibility & contrast
On white
11.01
#422297 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#422297 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422297
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422297 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422297 | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#1C435B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #422297; /* rgb */ color: rgb(66, 34, 151); /* oklch */ color: oklch(37.7% 0.176 287.1);
Tailwind
colors: {
custom: {
50: '#8061b7',
500: '#422297',
950: '#000000',
},
}SCSS
$custom: #422297; $custom-light: #8061b7; $custom-dark: #000000;
JSON
{
"hex": "#422297",
"rgb": {
"r": 66,
"g": 34,
"b": 151
},
"hsl": {
"h": 256.41,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.37656,
"c": 0.17579,
"h": 287.1
},
"luminance": 0.04537
}Semantic roles & 50–950 ramp
primary
#422297
secondary
#A2BE57
accent
#E642B9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980