#49187F#49187F
#49187F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.159 H 299.4°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #49187F |
|---|---|
| RGB | rgb(73, 24, 127) |
| HSL | hsl(269, 68%, 30%) |
| HSV | hsv(269, 81%, 50%) |
| CMYK | cmyk(42.5%, 81.1%, 0%, 50.2%) |
| CIE-LAB | lab(22.31, 43.49, -48.40) |
| CIE-LCH | lch(22.31, 65.07, 311.94°) |
| OKLab | oklab(35.01% 0.078 -0.1384) |
| OKLCH | oklch(35.01% 0.159 299.4) |
| XYZ | xyz(6.9041, 3.6020, 20.4061) |
| Luminance | 0.0360 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 2.83
Indigo (survey)
#380282
ΔE00 4.19
Royal Purple (survey)
#4B006E
ΔE00 4.27
Midnight Blue
#191970
ΔE00 7.69
Royal
#0C1793
ΔE00 7.85
Indigo Blue
#3A18B1
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#49187F #4E7F18
analogous
#181A7F #49187F #7D187F
triadic
#49187F #7F4918 #187F49
tetradic
#49187F #7F181A #4E7F18 #187F7D
square
#49187F #7F181A #4E7F18 #187F7D
split-complementary
#49187F #7F7D18 #1A7F18
monochromatic
#0F051A #2B0E4C #49187F #6722B2 #8538D9
Accessibility & contrast
On white
12.21
#49187F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#49187F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #49187F
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##49187F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##49187F | 1.00 | 12.21 | 1.72 | 12.21 |
| #FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#3C344B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #49187f; /* rgb */ color: rgb(73, 24, 127); /* oklch */ color: oklch(35.0% 0.159 299.4);
Tailwind
colors: {
custom: {
50: '#825ba5',
500: '#49187f',
950: '#000000',
},
}SCSS
$custom: #49187f; $custom-light: #825ba5; $custom-dark: #000000;
JSON
{
"hex": "#49187f",
"rgb": {
"r": 73,
"g": 24,
"b": 127
},
"hsl": {
"h": 268.544,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.35008,
"c": 0.1589,
"h": 299.4
},
"luminance": 0.03602
}Semantic roles & 50–950 ramp
primary
#49187F
secondary
#7CB33F
accent
#EB3D98
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F