#32167B#32167B
#32167B is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.156 H 286.2°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).
Color values
| HEX | #32167B |
|---|---|
| RGB | rgb(50, 22, 123) |
| HSL | hsl(257, 70%, 28%) |
| HSV | hsv(257, 82%, 48%) |
| CMYK | cmyk(59.3%, 82.1%, 0%, 51.8%) |
| CIE-LAB | lab(18.72, 39.86, -51.86) |
| CIE-LCH | lch(18.72, 65.41, 307.55°) |
| OKLab | oklab(31.74% 0.0434 -0.1494) |
| OKLCH | oklch(31.74% 0.156 286.2) |
| XYZ | xyz(5.1764, 2.6817, 18.9799) |
| Luminance | 0.0268 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.10
Midnight Blue
#191970
ΔE00 4.01
Indigo
#4B0082
ΔE00 4.91
Royal
#0C1793
ΔE00 4.96
Navy
#000080
ΔE00 5.37
Dark Royal Blue
#02066F
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#32167B #5F7B16
analogous
#162C7B #32167B #64167B
triadic
#32167B #7B3216 #167B32
tetradic
#32167B #7B162C #5F7B16 #167B64
square
#32167B #7B162C #5F7B16 #167B64
split-complementary
#32167B #7B6416 #2C7B16
monochromatic
#0B051A #1D0D47 #32167B #471FAF #6031DA
Accessibility & contrast
On white
13.67
#32167B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#32167B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #32167B
13.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##32167B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##32167B | 1.00 | 13.67 | 1.54 | 13.67 |
| #FFFFFF | 13.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002B79
Tritanopia (blue-blind)
#0D3449
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #32167b; /* rgb */ color: rgb(50, 22, 123); /* oklch */ color: oklch(31.7% 0.156 286.2);
Tailwind
colors: {
custom: {
50: '#7458a2',
500: '#32167b',
950: '#000000',
},
}SCSS
$custom: #32167b; $custom-light: #7458a2; $custom-dark: #000000;
JSON
{
"hex": "#32167b",
"rgb": {
"r": 50,
"g": 22,
"b": 123
},
"hsl": {
"h": 256.634,
"s": 69.655,
"l": 28.431
},
"oklch": {
"l": 0.31739,
"c": 0.15554,
"h": 286.2
},
"luminance": 0.02682
}Semantic roles & 50–950 ramp
primary
#32167B
secondary
#90B03D
accent
#EC3BBB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F