#37216E#37216E
#37216E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.5% C 0.126 H 290.8°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).
Color values
| HEX | #37216E |
|---|---|
| RGB | rgb(55, 33, 110) |
| HSL | hsl(257, 54%, 28%) |
| HSV | hsv(257, 70%, 43%) |
| CMYK | cmyk(50%, 70%, 0%, 56.9%) |
| CIE-LAB | lab(20.15, 30.71, -41.14) |
| CIE-LCH | lch(20.15, 51.34, 306.74°) |
| OKLab | oklab(32.49% 0.0448 -0.1178) |
| OKLCH | oklch(32.49% 0.126 290.8) |
| XYZ | xyz(4.9331, 3.0255, 15.0729) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.85
Indigo (survey)
#380282
ΔE00 6.62
Dark Indigo
#1F0954
ΔE00 6.72
Royal Purple (survey)
#4B006E
ΔE00 7.06
Indigo
#4B0082
ΔE00 7.12
Darkblue (survey)
#030764
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37216E #586E21
analogous
#21316E #37216E #5D216E
triadic
#37216E #6E3721 #216E37
tetradic
#37216E #6E2131 #586E21 #216E5D
square
#37216E #6E2131 #586E21 #216E5D
split-complementary
#37216E #6E5D21 #316E21
monochromatic
#0C0718 #1F133F #37216E #4F2F9D #6843C7
Accessibility & contrast
On white
13.08
#37216E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#37216E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37216E
13.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37216E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37216E | 1.00 | 13.08 | 1.61 | 13.08 |
| #FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002F6C
Tritanopia (blue-blind)
#253444
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #37216e; /* rgb */ color: rgb(55, 33, 110); /* oklch */ color: oklch(32.5% 0.126 290.8);
Tailwind
colors: {
custom: {
50: '#735e98',
500: '#37216e',
950: '#000000',
},
}SCSS
$custom: #37216e; $custom-light: #735e98; $custom-dark: #000000;
JSON
{
"hex": "#37216e",
"rgb": {
"r": 55,
"g": 33,
"b": 110
},
"hsl": {
"h": 257.143,
"s": 53.846,
"l": 28.039
},
"oklch": {
"l": 0.32491,
"c": 0.12607,
"h": 290.8
},
"luminance": 0.03026
}Semantic roles & 50–950 ramp
primary
#37216E
secondary
#88A249
accent
#DD4BB3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E