#32217C#32217C
#32217C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.145 H 283.8°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).
Color values
| HEX | #32217C |
|---|---|
| RGB | rgb(50, 33, 124) |
| HSL | hsl(251, 58%, 31%) |
| HSV | hsv(251, 73%, 49%) |
| CMYK | cmyk(59.7%, 73.4%, 0%, 51.4%) |
| CIE-LAB | lab(20.91, 34.27, -48.90) |
| CIE-LCH | lch(20.91, 59.71, 305.02°) |
| OKLab | oklab(33.31% 0.0346 -0.1408) |
| OKLCH | oklch(33.31% 0.145 283.8) |
| XYZ | xyz(5.4962, 3.2207, 19.3969) |
| Luminance | 0.0322 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.81
Royal
#0C1793
ΔE00 5.30
Indigo (survey)
#380282
ΔE00 5.49
Indigo
#4B0082
ΔE00 6.74
Dark Royal Blue
#02066F
ΔE00 6.89
Deep Blue
#040273
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#32217C #6B7C21
analogous
#213D7C #32217C #5F217C
triadic
#32217C #7C3221 #217C32
tetradic
#32217C #7C213D #6B7C21 #217C5F
square
#32217C #7C213D #6B7C21 #217C5F
split-complementary
#32217C #7C5F21 #3D7C21
monochromatic
#0B071B #1F144C #32217C #452EAC #6249CF
Accessibility & contrast
On white
12.77
#32217C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#32217C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #32217C
12.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##32217C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##32217C | 1.00 | 12.77 | 1.64 | 12.77 |
| #FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#002F7A
Tritanopia (blue-blind)
#09394C
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #32217c; /* rgb */ color: rgb(50, 33, 124); /* oklch */ color: oklch(33.3% 0.145 283.8);
Tailwind
colors: {
custom: {
50: '#735ea3',
500: '#32217c',
950: '#000000',
},
}SCSS
$custom: #32217c; $custom-light: #735ea3; $custom-dark: #000000;
JSON
{
"hex": "#32217c",
"rgb": {
"r": 50,
"g": 33,
"b": 124
},
"hsl": {
"h": 251.209,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.33308,
"c": 0.14498,
"h": 283.8
},
"luminance": 0.03221
}Semantic roles & 50–950 ramp
primary
#32217C
secondary
#9CAF4A
accent
#E147C4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F