#32116F#32116F
#32116F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.9% C 0.146 H 290.5°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).
Color values
| HEX | #32116F |
|---|---|
| RGB | rgb(50, 17, 111) |
| HSL | hsl(261, 73%, 25%) |
| HSV | hsv(261, 85%, 44%) |
| CMYK | cmyk(55%, 84.7%, 0%, 56.5%) |
| CIE-LAB | lab(16.63, 38.66, -47.56) |
| CIE-LCH | lch(16.63, 61.29, 309.10°) |
| OKLab | oklab(29.9% 0.0511 -0.1367) |
| OKLCH | oklch(29.9% 0.146 290.5) |
| XYZ | xyz(4.3843, 2.2265, 15.2346) |
| Luminance | 0.0223 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.67
Midnight Blue
#191970
ΔE00 4.40
Indigo
#4B0082
ΔE00 5.08
Dark Indigo
#1F0954
ΔE00 5.08
Dark Royal Blue
#02066F
ΔE00 5.15
Royal Purple (survey)
#4B006E
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#32116F #4E6F11
analogous
#111F6F #32116F #61116F
triadic
#32116F #6F3211 #116F32
tetradic
#32116F #6F111F #4E6F11 #116F61
square
#32116F #6F111F #4E6F11 #116F61
split-complementary
#32116F #6F6111 #1F6F11
monochromatic
#0C041B #1A093A #32116F #4A19A4 #6221D9
Accessibility & contrast
On white
14.53
#32116F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#32116F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #32116F
14.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##32116F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##32116F | 1.00 | 14.53 | 1.45 | 14.53 |
| #FFFFFF | 14.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00276D
Tritanopia (blue-blind)
#1B2D41
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #32116f; /* rgb */ color: rgb(50, 17, 111); /* oklch */ color: oklch(29.9% 0.146 290.5);
Tailwind
colors: {
custom: {
50: '#725499',
500: '#32116f',
950: '#000000',
},
}SCSS
$custom: #32116f; $custom-light: #725499; $custom-dark: #000000;
JSON
{
"hex": "#32116f",
"rgb": {
"r": 50,
"g": 17,
"b": 111
},
"hsl": {
"h": 261.064,
"s": 73.438,
"l": 25.098
},
"oklch": {
"l": 0.29904,
"c": 0.14598,
"h": 290.5
},
"luminance": 0.02227
}Semantic roles & 50–950 ramp
primary
#32116F
secondary
#7FA635
accent
#F038AF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E