#37247F#37247F
#37247F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.145 H 285.6°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).
Color values
| HEX | #37247F |
|---|---|
| RGB | rgb(55, 36, 127) |
| HSL | hsl(253, 56%, 32%) |
| HSV | hsv(253, 72%, 50%) |
| CMYK | cmyk(56.7%, 71.7%, 0%, 50.2%) |
| CIE-LAB | lab(22.32, 34.30, -48.47) |
| CIE-LCH | lch(22.32, 59.37, 305.29°) |
| OKLab | oklab(34.53% 0.0389 -0.1394) |
| OKLCH | oklch(34.53% 0.145 285.6) |
| XYZ | xyz(6.0360, 3.6059, 20.4525) |
| Luminance | 0.0361 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.80
Royal
#0C1793
ΔE00 5.76
Indigo (survey)
#380282
ΔE00 5.89
Indigo
#4B0082
ΔE00 6.73
Darkslateblue
#483D8B
ΔE00 7.06
Indigo Blue
#3A18B1
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37247F #6C7F24
analogous
#243F7F #37247F #64247F
triadic
#37247F #7F3724 #247F37
tetradic
#37247F #7F243F #6C7F24 #247F64
square
#37247F #7F243F #6C7F24 #247F64
split-complementary
#37247F #7F6424 #3F7F24
monochromatic
#0E0920 #22164F #37247F #4C32AF #6A50CD
Accessibility & contrast
On white
12.20
#37247F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#37247F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37247F
12.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37247F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37247F | 1.00 | 12.20 | 1.72 | 12.20 |
| #FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#173C4E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #37247f; /* rgb */ color: rgb(55, 36, 127); /* oklch */ color: oklch(34.5% 0.145 285.6);
Tailwind
colors: {
custom: {
50: '#7660a5',
500: '#37247f',
950: '#000000',
},
}SCSS
$custom: #37247f; $custom-light: #7660a5; $custom-dark: #000000;
JSON
{
"hex": "#37247f",
"rgb": {
"r": 55,
"g": 36,
"b": 127
},
"hsl": {
"h": 252.527,
"s": 55.828,
"l": 31.961
},
"oklch": {
"l": 0.34526,
"c": 0.14467,
"h": 285.6
},
"luminance": 0.03606
}Semantic roles & 50–950 ramp
primary
#37247F
secondary
#9CB14E
accent
#DF49C0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09050F
muted
#7B797F