#32197F#32197F
#32197F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.157 H 284.7°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).
Color values
| HEX | #32197F |
|---|---|
| RGB | rgb(50, 25, 127) |
| HSL | hsl(255, 67%, 30%) |
| HSV | hsv(255, 80%, 50%) |
| CMYK | cmyk(60.6%, 80.3%, 0%, 50.2%) |
| CIE-LAB | lab(19.66, 39.60, -52.86) |
| CIE-LCH | lch(19.66, 66.05, 306.84°) |
| OKLab | oklab(32.52% 0.0401 -0.1523) |
| OKLCH | oklch(32.52% 0.157 284.7) |
| XYZ | xyz(5.4926, 2.9053, 20.3459) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.49
Midnight Blue
#191970
ΔE00 4.06
Royal
#0C1793
ΔE00 4.45
Indigo
#4B0082
ΔE00 5.23
Darkblue
#00008B
ΔE00 5.55
Navy
#000080
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#32197F #667F19
analogous
#19337F #32197F #65197F
triadic
#32197F #7F3219 #197F32
tetradic
#32197F #7F1933 #667F19 #197F65
square
#32197F #7F1933 #667F19 #197F65
split-complementary
#32197F #7F6519 #337F19
monochromatic
#0A051A #1E0F4C #32197F #4623B2 #613AD8
Accessibility & contrast
On white
13.28
#32197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#32197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #32197F
13.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##32197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##32197F | 1.00 | 13.28 | 1.58 | 13.28 |
| #FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#04374C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #32197f; /* rgb */ color: rgb(50, 25, 127); /* oklch */ color: oklch(32.5% 0.157 284.7);
Tailwind
colors: {
custom: {
50: '#7459a5',
500: '#32197f',
950: '#000000',
},
}SCSS
$custom: #32197f; $custom-light: #7459a5; $custom-dark: #000000;
JSON
{
"hex": "#32197f",
"rgb": {
"r": 50,
"g": 25,
"b": 127
},
"hsl": {
"h": 254.706,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.32521,
"c": 0.15749,
"h": 284.7
},
"luminance": 0.02906
}Semantic roles & 50–950 ramp
primary
#32197F
secondary
#97B341
accent
#EA3EC0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F