#37229E#37229E
#37229E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.186 H 280.2°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).
Color values
| HEX | #37229E |
|---|---|
| RGB | rgb(55, 34, 158) |
| HSL | hsl(250, 65%, 38%) |
| HSV | hsv(250, 78%, 62%) |
| CMYK | cmyk(65.2%, 78.5%, 0%, 38%) |
| CIE-LAB | lab(25.03, 45.14, -63.28) |
| CIE-LCH | lch(25.03, 77.73, 305.50°) |
| OKLab | oklab(37.37% 0.033 -0.1826) |
| OKLCH | oklch(37.37% 0.186 280.2) |
| XYZ | xyz(8.3172, 4.4242, 32.7568) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.00
Royal
#0C1793
ΔE00 4.43
Cobalt Blue
#030AA7
ΔE00 4.89
Ultramarine
#2000B1
ΔE00 4.99
Royal Blue (survey)
#0504AA
ΔE00 5.24
True Blue
#010FCC
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37229E #899E22
analogous
#224B9E #37229E #75229E
triadic
#37229E #9E3722 #229E37
tetradic
#37229E #9E224B #899E22 #229E75
square
#37229E #9E224B #899E22 #229E75
split-complementary
#37229E #9E7522 #4B9E22
monochromatic
#140C39 #25176C #37229E #492DD0 #735EDC
Accessibility & contrast
On white
11.14
#37229E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#37229E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37229E
11.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37229E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37229E | 1.00 | 11.14 | 1.89 | 11.14 |
| #FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #37229e; /* rgb */ color: rgb(55, 34, 158); /* oklch */ color: oklch(37.4% 0.186 280.2);
Tailwind
colors: {
custom: {
50: '#7c61bc',
500: '#37229e',
950: '#000000',
},
}SCSS
$custom: #37229e; $custom-light: #7c61bc; $custom-dark: #000000;
JSON
{
"hex": "#37229e",
"rgb": {
"r": 55,
"g": 34,
"b": 158
},
"hsl": {
"h": 250.161,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.37373,
"c": 0.1856,
"h": 280.2
},
"luminance": 0.04425
}Semantic roles & 50–950 ramp
primary
#37229E
secondary
#B0C15B
accent
#E840CB
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981