#36217F#36217F
#36217F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.148 H 285.7°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).
Color values
| HEX | #36217F |
|---|---|
| RGB | rgb(54, 33, 127) |
| HSL | hsl(253, 59%, 31%) |
| HSV | hsv(253, 74%, 50%) |
| CMYK | cmyk(57.5%, 74%, 0%, 50.2%) |
| CIE-LAB | lab(21.59, 35.87, -49.66) |
| CIE-LCH | lch(21.59, 61.26, 305.84°) |
| OKLab | oklab(33.98% 0.0401 -0.1429) |
| OKLCH | oklch(33.98% 0.148 285.7) |
| XYZ | xyz(5.8948, 3.4040, 20.4210) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.49
Indigo (survey)
#380282
ΔE00 5.15
Royal
#0C1793
ΔE00 5.33
Indigo
#4B0082
ΔE00 6.17
Darkblue
#00008B
ΔE00 7.20
Dark Royal Blue
#02066F
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36217F #6A7F21
analogous
#213B7F #36217F #65217F
triadic
#36217F #7F3621 #217F36
tetradic
#36217F #7F213B #6A7F21 #217F65
square
#36217F #7F213B #6A7F21 #217F65
split-complementary
#36217F #7F6521 #3B7F21
monochromatic
#0D081E #21144E #36217F #4B2EB0 #684AD0
Accessibility & contrast
On white
12.49
#36217F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#36217F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36217F
12.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36217F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36217F | 1.00 | 12.49 | 1.68 | 12.49 |
| #FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#143A4D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #36217f; /* rgb */ color: rgb(54, 33, 127); /* oklch */ color: oklch(34.0% 0.148 285.7);
Tailwind
colors: {
custom: {
50: '#765ea5',
500: '#36217f',
950: '#000000',
},
}SCSS
$custom: #36217f; $custom-light: #765ea5; $custom-dark: #000000;
JSON
{
"hex": "#36217f",
"rgb": {
"r": 54,
"g": 33,
"b": 127
},
"hsl": {
"h": 253.404,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.33982,
"c": 0.1484,
"h": 285.7
},
"luminance": 0.03404
}Semantic roles & 50–950 ramp
primary
#36217F
secondary
#9BB24A
accent
#E246BF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F