#32197E#32197E
#32197E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.156 H 285.0°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).
Color values
| HEX | #32197E |
|---|---|
| RGB | rgb(50, 25, 126) |
| HSL | hsl(255, 67%, 30%) |
| HSV | hsv(255, 80%, 49%) |
| CMYK | cmyk(60.3%, 80.2%, 0%, 50.6%) |
| CIE-LAB | lab(19.55, 39.29, -52.40) |
| CIE-LCH | lch(19.55, 65.49, 306.87°) |
| OKLab | oklab(32.42% 0.0404 -0.151) |
| OKLCH | oklch(32.42% 0.156 285) |
| XYZ | xyz(5.4278, 2.8794, 20.0044) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.53
Midnight Blue
#191970
ΔE00 3.99
Royal
#0C1793
ΔE00 4.57
Indigo
#4B0082
ΔE00 5.24
Darkblue
#00008B
ΔE00 5.62
Navy
#000080
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#32197E #657E19
analogous
#19337E #32197E #64197E
triadic
#32197E #7E3219 #197E32
tetradic
#32197E #7E1933 #657E19 #197E64
square
#32197E #7E1933 #657E19 #197E64
split-complementary
#32197E #7E6419 #337E19
monochromatic
#0A051A #1E0F4B #32197E #4623B1 #613AD8
Accessibility & contrast
On white
13.32
#32197E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#32197E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #32197E
13.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##32197E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##32197E | 1.00 | 13.32 | 1.58 | 13.32 |
| #FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#07364B
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #32197e; /* rgb */ color: rgb(50, 25, 126); /* oklch */ color: oklch(32.4% 0.156 285.0);
Tailwind
colors: {
custom: {
50: '#7459a4',
500: '#32197e',
950: '#000000',
},
}SCSS
$custom: #32197e; $custom-light: #7459a4; $custom-dark: #000000;
JSON
{
"hex": "#32197e",
"rgb": {
"r": 50,
"g": 25,
"b": 126
},
"hsl": {
"h": 254.851,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.32415,
"c": 0.15626,
"h": 285
},
"luminance": 0.0288
}Semantic roles & 50–950 ramp
primary
#32197E
secondary
#96B241
accent
#EA3EBF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F