#49187E#49187E
#49187E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.158 H 299.7°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).
Color values
| HEX | #49187E |
|---|---|
| RGB | rgb(73, 24, 126) |
| HSL | hsl(269, 68%, 29%) |
| HSV | hsv(269, 81%, 49%) |
| CMYK | cmyk(42.1%, 81%, 0%, 50.6%) |
| CIE-LAB | lab(22.22, 43.24, -47.92) |
| CIE-LCH | lch(22.22, 64.54, 312.06°) |
| OKLab | oklab(34.92% 0.0783 -0.137) |
| OKLCH | oklch(34.92% 0.158 299.7) |
| XYZ | xyz(6.8392, 3.5760, 20.0645) |
| Luminance | 0.0358 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 2.87
Royal Purple (survey)
#4B006E
ΔE00 4.15
Indigo (survey)
#380282
ΔE00 4.26
Midnight Blue
#191970
ΔE00 7.69
Royal
#0C1793
ΔE00 7.96
Indigo Blue
#3A18B1
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#49187E #4D7E18
analogous
#181A7E #49187E #7C187E
triadic
#49187E #7E4918 #187E49
tetradic
#49187E #7E181A #4D7E18 #187E7C
square
#49187E #7E181A #4D7E18 #187E7C
split-complementary
#49187E #7E7C18 #1A7E18
monochromatic
#0F051A #2B0E4B #49187E #6722B1 #8537D9
Accessibility & contrast
On white
12.24
#49187E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#49187E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #49187E
12.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##49187E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##49187E | 1.00 | 12.24 | 1.72 | 12.24 |
| #FFFFFF | 12.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#3C344B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #49187e; /* rgb */ color: rgb(73, 24, 126); /* oklch */ color: oklch(34.9% 0.158 299.7);
Tailwind
colors: {
custom: {
50: '#825ba4',
500: '#49187e',
950: '#000000',
},
}SCSS
$custom: #49187e; $custom-light: #825ba4; $custom-dark: #000000;
JSON
{
"hex": "#49187e",
"rgb": {
"r": 73,
"g": 24,
"b": 126
},
"hsl": {
"h": 268.824,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.34915,
"c": 0.15781,
"h": 299.7
},
"luminance": 0.03576
}Semantic roles & 50–950 ramp
primary
#49187E
secondary
#7BB23F
accent
#EB3D97
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F