#37159E#37159E
#37159E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 36.0% C 0.196 H 281.6°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #37159E |
|---|---|
| RGB | rgb(55, 21, 158) |
| HSL | hsl(255, 77%, 35%) |
| HSV | hsv(255, 87%, 62%) |
| CMYK | cmyk(65.2%, 86.7%, 0%, 38%) |
| CIE-LAB | lab(23.06, 50.90, -66.54) |
| CIE-LCH | lch(23.06, 83.77, 307.42°) |
| OKLab | oklab(36.01% 0.0394 -0.1919) |
| OKLCH | oklch(36.01% 0.196 281.6) |
| XYZ | xyz(8.0133, 3.8166, 32.6555) |
| Luminance | 0.0382 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.70
Ultramarine
#2000B1
ΔE00 3.40
Cobalt Blue
#030AA7
ΔE00 3.60
Royal Blue (survey)
#0504AA
ΔE00 3.77
Royal
#0C1793
ΔE00 4.04
Indigo (survey)
#380282
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37159E #7C9E15
analogous
#15379E #37159E #7C159E
triadic
#37159E #9E3715 #159E37
tetradic
#37159E #9E1537 #7C9E15 #159E7C
square
#37159E #9E1537 #7C9E15 #159E7C
split-complementary
#37159E #9E7C15 #379E15
monochromatic
#110732 #240E68 #37159E #4A1CD4 #6E47E7
Accessibility & contrast
On white
11.91
#37159E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#37159E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37159E
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37159E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37159E | 1.00 | 11.91 | 1.76 | 11.91 |
| #FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #37159e; /* rgb */ color: rgb(55, 21, 158); /* oklch */ color: oklch(36.0% 0.196 281.6);
Tailwind
colors: {
custom: {
50: '#7d5abc',
500: '#37159e',
950: '#000000',
},
}SCSS
$custom: #37159e; $custom-light: #7d5abc; $custom-dark: #000000;
JSON
{
"hex": "#37159e",
"rgb": {
"r": 55,
"g": 21,
"b": 158
},
"hsl": {
"h": 254.891,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.36011,
"c": 0.19595,
"h": 281.6
},
"luminance": 0.03817
}Semantic roles & 50–950 ramp
primary
#37159E
secondary
#A8C747
accent
#F335C4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981