#37258C#37258C
#37258C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.160 H 282.7°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #37258C |
|---|---|
| RGB | rgb(55, 37, 140) |
| HSL | hsl(250, 58%, 35%) |
| HSV | hsv(250, 74%, 55%) |
| CMYK | cmyk(60.7%, 73.6%, 0%, 45.1%) |
| CIE-LAB | lab(23.76, 37.88, -54.26) |
| CIE-LCH | lch(23.76, 66.17, 304.92°) |
| OKLab | oklab(35.93% 0.0354 -0.1563) |
| OKLCH | oklch(35.93% 0.16 282.7) |
| XYZ | xyz(6.9693, 4.0283, 25.2162) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 4.75
Indigo Blue
#3A18B1
ΔE00 5.72
Midnight Blue
#191970
ΔE00 5.88
Indigo (survey)
#380282
ΔE00 6.00
Cobalt Blue
#030AA7
ΔE00 6.56
Indigo
#4B0082
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37258C #7A8C25
analogous
#25478C #37258C #6A258C
triadic
#37258C #8C3725 #258C37
tetradic
#37258C #8C2547 #7A8C25 #258C6A
square
#37258C #8C2547 #7A8C25 #258C6A
split-complementary
#37258C #8C6A25 #478C25
monochromatic
#110B2B #24185C #37258C #4A32BC #6E58D3
Accessibility & contrast
On white
11.63
#37258C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#37258C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37258C
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37258C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37258C | 1.00 | 11.63 | 1.81 | 11.63 |
| #FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #37258c; /* rgb */ color: rgb(55, 37, 140); /* oklch */ color: oklch(35.9% 0.160 282.7);
Tailwind
colors: {
custom: {
50: '#7862af',
500: '#37258c',
950: '#000000',
},
}SCSS
$custom: #37258c; $custom-light: #7862af; $custom-dark: #000000;
JSON
{
"hex": "#37258c",
"rgb": {
"r": 55,
"g": 37,
"b": 140
},
"hsl": {
"h": 250.485,
"s": 58.192,
"l": 34.706
},
"oklch": {
"l": 0.35932,
"c": 0.16029,
"h": 282.7
},
"luminance": 0.04029
}Semantic roles & 50–950 ramp
primary
#37258C
secondary
#A6B855
accent
#E146C6
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F