#37218C#37218C
#37218C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.165 H 283.5°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).
Color values
| HEX | #37218C |
|---|---|
| RGB | rgb(55, 33, 140) |
| HSL | hsl(252, 62%, 34%) |
| HSV | hsv(252, 76%, 55%) |
| CMYK | cmyk(60.7%, 76.4%, 0%, 45.1%) |
| CIE-LAB | lab(22.97, 40.10, -55.56) |
| CIE-LCH | lch(22.97, 68.52, 305.82°) |
| OKLab | oklab(35.37% 0.0385 -0.1601) |
| OKLCH | oklch(35.37% 0.165 283.5) |
| XYZ | xyz(6.8516, 3.7929, 25.1769) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 4.30
Indigo (survey)
#380282
ΔE00 5.07
Indigo Blue
#3A18B1
ΔE00 5.38
Midnight Blue
#191970
ΔE00 5.71
Cobalt Blue
#030AA7
ΔE00 5.98
Indigo
#4B0082
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37218C #768C21
analogous
#21418C #37218C #6D218C
triadic
#37218C #8C3721 #218C37
tetradic
#37218C #8C2141 #768C21 #218C6D
square
#37218C #8C2141 #768C21 #218C6D
split-complementary
#37218C #8C6D21 #418C21
monochromatic
#100A29 #24155A #37218C #4A2DBE #6D51D6
Accessibility & contrast
On white
11.94
#37218C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#37218C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37218C
11.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37218C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37218C | 1.00 | 11.94 | 1.76 | 11.94 |
| #FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#00338A
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #37218c; /* rgb */ color: rgb(55, 33, 140); /* oklch */ color: oklch(35.4% 0.165 283.5);
Tailwind
colors: {
custom: {
50: '#795faf',
500: '#37218c',
950: '#000000',
},
}SCSS
$custom: #37218c; $custom-light: #795faf; $custom-dark: #000000;
JSON
{
"hex": "#37218c",
"rgb": {
"r": 55,
"g": 33,
"b": 140
},
"hsl": {
"h": 252.336,
"s": 61.85,
"l": 33.922
},
"oklch": {
"l": 0.35372,
"c": 0.16466,
"h": 283.5
},
"luminance": 0.03793
}Semantic roles & 50–950 ramp
primary
#37218C
secondary
#A4B94F
accent
#E543C4
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0510
muted
#7C797F