#32198A#32198A
#32198A is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.171 H 282.4°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).
Color values
| HEX | #32198A |
|---|---|
| RGB | rgb(50, 25, 138) |
| HSL | hsl(253, 69%, 32%) |
| HSV | hsv(253, 82%, 54%) |
| CMYK | cmyk(63.8%, 81.9%, 0%, 45.9%) |
| CIE-LAB | lab(20.86, 42.93, -57.82) |
| CIE-LCH | lch(20.86, 72.01, 306.60°) |
| OKLab | oklab(33.71% 0.0366 -0.1668) |
| OKLCH | oklch(33.71% 0.171 282.4) |
| XYZ | xyz(6.2490, 3.2079, 24.3297) |
| Luminance | 0.0321 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.40
Indigo (survey)
#380282
ΔE00 3.59
Cobalt Blue
#030AA7
ΔE00 5.04
Darkblue
#00008B
ΔE00 5.09
Midnight Blue
#191970
ΔE00 5.14
Indigo
#4B0082
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#32198A #718A19
analogous
#19398A #32198A #6B198A
triadic
#32198A #8A3219 #198A32
tetradic
#32198A #8A1939 #718A19 #198A6B
square
#32198A #8A1939 #718A19 #198A6B
split-complementary
#32198A #8A6B19 #398A19
monochromatic
#0C0622 #1F1056 #32198A #4522BE #6341DD
Accessibility & contrast
On white
12.79
#32198A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#32198A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #32198A
12.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##32198A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##32198A | 1.00 | 12.79 | 1.64 | 12.79 |
| #FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368D
Deuteranopia (green-blind)
#002E88
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #32198a; /* rgb */ color: rgb(50, 25, 138); /* oklch */ color: oklch(33.7% 0.171 282.4);
Tailwind
colors: {
custom: {
50: '#775aad',
500: '#32198a',
950: '#000000',
},
}SCSS
$custom: #32198a; $custom-light: #775aad; $custom-dark: #000000;
JSON
{
"hex": "#32198a",
"rgb": {
"r": 50,
"g": 25,
"b": 138
},
"hsl": {
"h": 253.274,
"s": 69.325,
"l": 31.961
},
"oklch": {
"l": 0.33711,
"c": 0.17073,
"h": 282.4
},
"luminance": 0.03208
}Semantic roles & 50–950 ramp
primary
#32198A
secondary
#A2BD42
accent
#EC3CC5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F