#37248B#37248B
#37248B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.160 H 283.1°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).
Color values
| HEX | #37248B |
|---|---|
| RGB | rgb(55, 36, 139) |
| HSL | hsl(251, 59%, 34%) |
| HSV | hsv(251, 74%, 55%) |
| CMYK | cmyk(60.4%, 74.1%, 0%, 45.5%) |
| CIE-LAB | lab(23.46, 38.13, -54.13) |
| CIE-LCH | lch(23.46, 66.21, 305.16°) |
| OKLab | oklab(35.69% 0.0364 -0.156) |
| OKLCH | oklch(35.69% 0.16 283.1) |
| XYZ | xyz(6.8652, 3.9376, 24.8194) |
| Luminance | 0.0394 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 4.68
Midnight Blue
#191970
ΔE00 5.72
Indigo (survey)
#380282
ΔE00 5.74
Indigo Blue
#3A18B1
ΔE00 5.77
Cobalt Blue
#030AA7
ΔE00 6.51
Indigo
#4B0082
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37248B #788B24
analogous
#24458B #37248B #6B248B
triadic
#37248B #8B3724 #248B37
tetradic
#37248B #8B2445 #788B24 #248B6B
square
#37248B #8B2445 #788B24 #248B6B
split-complementary
#37248B #8B6B24 #458B24
monochromatic
#110B2A #24175A #37248B #4A31BC #6D56D3
Accessibility & contrast
On white
11.75
#37248B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#37248B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37248B
11.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37248B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37248B | 1.00 | 11.75 | 1.79 | 11.75 |
| #FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003489
Tritanopia (blue-blind)
#014055
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #37248b; /* rgb */ color: rgb(55, 36, 139); /* oklch */ color: oklch(35.7% 0.160 283.1);
Tailwind
colors: {
custom: {
50: '#7861ae',
500: '#37248b',
950: '#000000',
},
}SCSS
$custom: #37248b; $custom-light: #7861ae; $custom-dark: #000000;
JSON
{
"hex": "#37248b",
"rgb": {
"r": 55,
"g": 36,
"b": 139
},
"hsl": {
"h": 251.068,
"s": 58.857,
"l": 34.314
},
"oklch": {
"l": 0.35688,
"c": 0.16015,
"h": 283.1
},
"luminance": 0.03938
}Semantic roles & 50–950 ramp
primary
#37248B
secondary
#A5B753
accent
#E246C5
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F