#37296E#37296E
#37296E is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.9% C 0.114 H 288.0°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).
Color values
| HEX | #37296E |
|---|---|
| RGB | rgb(55, 41, 110) |
| HSL | hsl(252, 46%, 30%) |
| HSV | hsv(252, 63%, 43%) |
| CMYK | cmyk(50%, 62.7%, 0%, 56.9%) |
| CIE-LAB | lab(22.03, 25.67, -38.08) |
| CIE-LCH | lch(22.03, 45.93, 303.99°) |
| OKLab | oklab(33.86% 0.0354 -0.1088) |
| OKLCH | oklch(33.86% 0.114 288) |
| XYZ | xyz(5.1821, 3.5237, 15.1559) |
| Luminance | 0.0352 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 5.95
Darkslateblue
#483D8B
ΔE00 6.83
Dark Indigo
#1F0954
ΔE00 8.42
Blueberry
#464196
ΔE00 8.75
Indigo (survey)
#380282
ΔE00 8.81
Royal
#0C1793
ΔE00 9.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37296E #606E29
analogous
#293E6E #37296E #5A296E
triadic
#37296E #6E3729 #296E37
tetradic
#37296E #6E293E #606E29 #296E5A
square
#37296E #6E293E #606E29 #296E5A
split-complementary
#37296E #6E5A29 #3E6E29
monochromatic
#0B0816 #211841 #37296E #4D3A9B #6953BF
Accessibility & contrast
On white
12.32
#37296E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#37296E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37296E
12.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37296E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37296E | 1.00 | 12.32 | 1.70 | 12.32 |
| #FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#253947
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #37296e; /* rgb */ color: rgb(55, 41, 110); /* oklch */ color: oklch(33.9% 0.114 288.0);
Tailwind
colors: {
custom: {
50: '#736398',
500: '#37296e',
950: '#000000',
},
}SCSS
$custom: #37296e; $custom-light: #736398; $custom-dark: #000000;
JSON
{
"hex": "#37296e",
"rgb": {
"r": 55,
"g": 41,
"b": 110
},
"hsl": {
"h": 252.174,
"s": 45.695,
"l": 29.608
},
"oklch": {
"l": 0.3386,
"c": 0.11446,
"h": 288
},
"luminance": 0.03524
}Semantic roles & 50–950 ramp
primary
#37296E
secondary
#90A053
accent
#D552BB
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E