#36217C#36217C
#36217C is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.145 H 286.4°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).
Color values
| HEX | #36217C |
|---|---|
| RGB | rgb(54, 33, 124) |
| HSL | hsl(254, 58%, 31%) |
| HSV | hsv(254, 73%, 49%) |
| CMYK | cmyk(56.5%, 73.4%, 0%, 51.4%) |
| CIE-LAB | lab(21.31, 34.92, -48.23) |
| CIE-LCH | lch(21.31, 59.55, 305.91°) |
| OKLab | oklab(33.69% 0.0407 -0.1387) |
| OKLCH | oklch(33.69% 0.145 286.4) |
| XYZ | xyz(5.7022, 3.3269, 19.4066) |
| Luminance | 0.0333 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.35
Indigo (survey)
#380282
ΔE00 5.30
Royal
#0C1793
ΔE00 5.71
Indigo
#4B0082
ΔE00 6.26
Dark Royal Blue
#02066F
ΔE00 7.24
Darkblue
#00008B
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36217C #677C21
analogous
#21397C #36217C #63217C
triadic
#36217C #7C3621 #217C36
tetradic
#36217C #7C2139 #677C21 #217C63
square
#36217C #7C2139 #677C21 #217C63
split-complementary
#36217C #7C6321 #397C21
monochromatic
#0C071B #21144C #36217C #4B2EAC #6849CF
Accessibility & contrast
On white
12.61
#36217C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#36217C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36217C
12.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36217C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36217C | 1.00 | 12.61 | 1.67 | 12.61 |
| #FFFFFF | 12.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#18394C
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #36217c; /* rgb */ color: rgb(54, 33, 124); /* oklch */ color: oklch(33.7% 0.145 286.4);
Tailwind
colors: {
custom: {
50: '#755ea3',
500: '#36217c',
950: '#000000',
},
}SCSS
$custom: #36217c; $custom-light: #755ea3; $custom-dark: #000000;
JSON
{
"hex": "#36217c",
"rgb": {
"r": 54,
"g": 33,
"b": 124
},
"hsl": {
"h": 253.846,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.33691,
"c": 0.14454,
"h": 286.4
},
"luminance": 0.03327
}Semantic roles & 50–950 ramp
primary
#36217C
secondary
#98AF4A
accent
#E147BE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F