#37248C#37248C
#37248C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.161 H 282.9°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #37248C |
|---|---|
| RGB | rgb(55, 36, 140) |
| HSL | hsl(251, 59%, 35%) |
| HSV | hsv(251, 74%, 55%) |
| CMYK | cmyk(60.7%, 74.3%, 0%, 45.1%) |
| CIE-LAB | lab(23.56, 38.44, -54.59) |
| CIE-LCH | lch(23.56, 66.77, 305.15°) |
| OKLab | oklab(35.79% 0.0362 -0.1573) |
| OKLCH | oklch(35.79% 0.161 282.9) |
| XYZ | xyz(6.9386, 3.9670, 25.2059) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 4.62
Indigo Blue
#3A18B1
ΔE00 5.62
Indigo (survey)
#380282
ΔE00 5.76
Midnight Blue
#191970
ΔE00 5.82
Cobalt Blue
#030AA7
ΔE00 6.41
Indigo
#4B0082
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37248C #798C24
analogous
#24458C #37248C #6B248C
triadic
#37248C #8C3724 #248C37
tetradic
#37248C #8C2445 #798C24 #248C6B
square
#37248C #8C2445 #798C24 #248C6B
split-complementary
#37248C #8C6B24 #458C24
monochromatic
#110B2B #24175B #37248C #4A31BD #6E57D4
Accessibility & contrast
On white
11.71
#37248C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#37248C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37248C
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37248C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37248C | 1.00 | 11.71 | 1.79 | 11.71 |
| #FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #37248c; /* rgb */ color: rgb(55, 36, 140); /* oklch */ color: oklch(35.8% 0.161 282.9);
Tailwind
colors: {
custom: {
50: '#7861af',
500: '#37248c',
950: '#000000',
},
}SCSS
$custom: #37248c; $custom-light: #7861af; $custom-dark: #000000;
JSON
{
"hex": "#37248c",
"rgb": {
"r": 55,
"g": 36,
"b": 140
},
"hsl": {
"h": 250.962,
"s": 59.091,
"l": 34.51
},
"oklch": {
"l": 0.35787,
"c": 0.16141,
"h": 282.9
},
"luminance": 0.03967
}Semantic roles & 50–950 ramp
primary
#37248C
secondary
#A6B854
accent
#E246C6
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F