#372183#372183
#372183 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.153 H 285.4°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).
Color values
| HEX | #372183 |
|---|---|
| RGB | rgb(55, 33, 131) |
| HSL | hsl(253, 60%, 32%) |
| HSV | hsv(253, 75%, 51%) |
| CMYK | cmyk(58%, 74.8%, 0%, 48.6%) |
| CIE-LAB | lab(22.08, 37.29, -51.39) |
| CIE-LCH | lch(22.08, 63.49, 305.97°) |
| OKLab | oklab(34.47% 0.0407 -0.1479) |
| OKLCH | oklch(34.47% 0.153 285.4) |
| XYZ | xyz(6.2149, 3.5383, 21.8238) |
| Luminance | 0.0354 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.88
Indigo (survey)
#380282
ΔE00 5.00
Royal
#0C1793
ΔE00 5.00
Indigo
#4B0082
ΔE00 6.00
Indigo Blue
#3A18B1
ΔE00 6.77
Darkblue
#00008B
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372183 #6D8321
analogous
#213C83 #372183 #682183
triadic
#372183 #833721 #218337
tetradic
#372183 #83213C #6D8321 #218368
square
#372183 #83213C #6D8321 #218368
split-complementary
#372183 #836821 #3C8321
monochromatic
#0E0821 #221552 #372183 #4C2DB4 #6A4CD2
Accessibility & contrast
On white
12.30
#372183 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#372183 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372183
12.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372183 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372183 | 1.00 | 12.30 | 1.71 | 12.30 |
| #FFFFFF | 12.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#123C50
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #372183; /* rgb */ color: rgb(55, 33, 131); /* oklch */ color: oklch(34.5% 0.153 285.4);
Tailwind
colors: {
custom: {
50: '#775fa8',
500: '#372183',
950: '#000000',
},
}SCSS
$custom: #372183; $custom-light: #775fa8; $custom-dark: #000000;
JSON
{
"hex": "#372183",
"rgb": {
"r": 55,
"g": 33,
"b": 131
},
"hsl": {
"h": 253.469,
"s": 59.756,
"l": 32.157
},
"oklch": {
"l": 0.34471,
"c": 0.15339,
"h": 285.4
},
"luminance": 0.03539
}Semantic roles & 50–950 ramp
primary
#372183
secondary
#9DB54B
accent
#E345BF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F