#37156E#37156E
#37156E is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.141 H 293.7°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).
Color values
| HEX | #37156E |
|---|---|
| RGB | rgb(55, 21, 110) |
| HSL | hsl(263, 68%, 26%) |
| HSV | hsv(263, 81%, 43%) |
| CMYK | cmyk(50%, 80.9%, 0%, 56.9%) |
| CIE-LAB | lab(17.80, 37.27, -44.97) |
| CIE-LCH | lch(17.80, 58.41, 309.65°) |
| OKLab | oklab(30.83% 0.0567 -0.129) |
| OKLCH | oklch(30.83% 0.141 293.7) |
| XYZ | xyz(4.6574, 2.4742, 14.9810) |
| Luminance | 0.0247 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.30
Royal Purple (survey)
#4B006E
ΔE00 4.83
Midnight Blue
#191970
ΔE00 4.95
Indigo
#4B0082
ΔE00 5.00
Dark Indigo
#1F0954
ΔE00 5.48
Dark Royal Blue
#02066F
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37156E #4C6E15
analogous
#15206E #37156E #63156E
triadic
#37156E #6E3715 #156E37
tetradic
#37156E #6E1520 #4C6E15 #156E63
square
#37156E #6E1520 #4C6E15 #156E63
split-complementary
#37156E #6E6315 #206E15
monochromatic
#0D051A #1D0B3B #37156E #511FA1 #6A29D5
Accessibility & contrast
On white
14.05
#37156E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#37156E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37156E
14.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37156E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37156E | 1.00 | 14.05 | 1.49 | 14.05 |
| #FFFFFF | 14.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#002A6C
Tritanopia (blue-blind)
#262E41
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #37156e; /* rgb */ color: rgb(55, 21, 110); /* oklch */ color: oklch(30.8% 0.141 293.7);
Tailwind
colors: {
custom: {
50: '#745798',
500: '#37156e',
950: '#000000',
},
}SCSS
$custom: #37156e; $custom-light: #745798; $custom-dark: #000000;
JSON
{
"hex": "#37156e",
"rgb": {
"r": 55,
"g": 21,
"b": 110
},
"hsl": {
"h": 262.921,
"s": 67.939,
"l": 25.686
},
"oklch": {
"l": 0.30828,
"c": 0.14093,
"h": 293.7
},
"luminance": 0.02474
}Semantic roles & 50–950 ramp
primary
#37156E
secondary
#7CA43A
accent
#EB3DA8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E