#37219E#37219E
#37219E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.187 H 280.4°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).
Color values
| HEX | #37219E |
|---|---|
| RGB | rgb(55, 33, 158) |
| HSL | hsl(251, 65%, 37%) |
| HSV | hsv(251, 79%, 62%) |
| CMYK | cmyk(65.2%, 79.1%, 0%, 38%) |
| CIE-LAB | lab(24.85, 45.64, -63.56) |
| CIE-LCH | lch(24.85, 78.25, 305.68°) |
| OKLab | oklab(37.25% 0.0335 -0.1835) |
| OKLCH | oklch(37.25% 0.187 280.4) |
| XYZ | xyz(8.2890, 4.3679, 32.7474) |
| Luminance | 0.0437 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.90
Royal
#0C1793
ΔE00 4.35
Cobalt Blue
#030AA7
ΔE00 4.74
Ultramarine
#2000B1
ΔE00 4.82
Royal Blue (survey)
#0504AA
ΔE00 5.09
True Blue
#010FCC
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37219E #889E21
analogous
#214A9E #37219E #76219E
triadic
#37219E #9E3721 #219E37
tetradic
#37219E #9E214A #889E21 #219E76
square
#37219E #9E214A #889E21 #219E76
split-complementary
#37219E #9E7621 #4A9E21
monochromatic
#140C39 #25166B #37219E #492CD1 #735CDD
Accessibility & contrast
On white
11.21
#37219E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#37219E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37219E
11.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37219E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37219E | 1.00 | 11.21 | 1.87 | 11.21 |
| #FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #37219e; /* rgb */ color: rgb(55, 33, 158); /* oklch */ color: oklch(37.3% 0.187 280.4);
Tailwind
colors: {
custom: {
50: '#7c60bc',
500: '#37219e',
950: '#000000',
},
}SCSS
$custom: #37219e; $custom-light: #7c60bc; $custom-dark: #000000;
JSON
{
"hex": "#37219e",
"rgb": {
"r": 55,
"g": 33,
"b": 158
},
"hsl": {
"h": 250.56,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.37251,
"c": 0.18652,
"h": 280.4
},
"luminance": 0.04369
}Semantic roles & 50–950 ramp
primary
#37219E
secondary
#AFC159
accent
#E83FCB
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981