#32107E#32107E
#32107E is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.164 H 286.2°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).
Color values
| HEX | #32107E |
|---|---|
| RGB | rgb(50, 16, 126) |
| HSL | hsl(259, 77%, 28%) |
| HSV | hsv(259, 87%, 49%) |
| CMYK | cmyk(60.3%, 87.3%, 0%, 50.6%) |
| CIE-LAB | lab(18.16, 43.35, -54.69) |
| CIE-LCH | lch(18.16, 69.79, 308.40°) |
| OKLab | oklab(31.45% 0.0459 -0.1575) |
| OKLCH | oklch(31.45% 0.164 286.2) |
| XYZ | xyz(5.2654, 2.5547, 19.9503) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 1.97
Indigo
#4B0082
ΔE00 4.31
Navy
#000080
ΔE00 4.66
Darkblue
#00008B
ΔE00 4.68
Midnight Blue
#191970
ΔE00 4.71
Royal
#0C1793
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#32107E #5C7E10
analogous
#10257E #32107E #69107E
triadic
#32107E #7E3210 #107E32
tetradic
#32107E #7E1025 #5C7E10 #107E69
square
#32107E #7E1025 #5C7E10 #107E69
split-complementary
#32107E #7E6910 #257E10
monochromatic
#0B031B #1C0948 #32107E #4817B4 #6025E3
Accessibility & contrast
On white
13.90
#32107E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#32107E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #32107E
13.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##32107E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##32107E | 1.00 | 13.90 | 1.51 | 13.90 |
| #FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#083349
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #32107e; /* rgb */ color: rgb(50, 16, 126); /* oklch */ color: oklch(31.5% 0.164 286.2);
Tailwind
colors: {
custom: {
50: '#7555a5',
500: '#32107e',
950: '#000000',
},
}SCSS
$custom: #32107e; $custom-light: #7555a5; $custom-dark: #000000;
JSON
{
"hex": "#32107e",
"rgb": {
"r": 50,
"g": 16,
"b": 126
},
"hsl": {
"h": 258.545,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.31454,
"c": 0.16409,
"h": 286.2
},
"luminance": 0.02555
}Semantic roles & 50–950 ramp
primary
#32107E
secondary
#8DB436
accent
#F434B9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F