#491F7F#491F7F
#491F7F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.151 H 298.3°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #491F7F |
|---|---|
| RGB | rgb(73, 31, 127) |
| HSL | hsl(266, 61%, 31%) |
| HSV | hsv(266, 76%, 50%) |
| CMYK | cmyk(42.5%, 75.6%, 0%, 50.2%) |
| CIE-LAB | lab(23.43, 40.28, -46.57) |
| CIE-LCH | lch(23.43, 61.57, 310.86°) |
| OKLab | oklab(35.8% 0.0715 -0.1331) |
| OKLCH | oklch(35.8% 0.151 298.3) |
| XYZ | xyz(7.0674, 3.9286, 20.4605) |
| Luminance | 0.0393 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.16
Indigo (survey)
#380282
ΔE00 5.23
Royal Purple (survey)
#4B006E
ΔE00 5.27
Rebeccapurple
#663399
ΔE00 7.24
Midnight Blue
#191970
ΔE00 7.59
Indigo Blue
#3A18B1
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#491F7F #557F1F
analogous
#1F257F #491F7F #791F7F
triadic
#491F7F #7F491F #1F7F49
tetradic
#491F7F #7F1F25 #557F1F #1F7F79
square
#491F7F #7F1F25 #557F1F #1F7F79
split-complementary
#491F7F #7F791F #257F1F
monochromatic
#10071D #2D134E #491F7F #652BB0 #8346D2
Accessibility & contrast
On white
11.76
#491F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#491F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #491F7F
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##491F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##491F7F | 1.00 | 11.76 | 1.79 | 11.76 |
| #FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#3C374D
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #491f7f; /* rgb */ color: rgb(73, 31, 127); /* oklch */ color: oklch(35.8% 0.151 298.3);
Tailwind
colors: {
custom: {
50: '#815fa5',
500: '#491f7f',
950: '#000000',
},
}SCSS
$custom: #491f7f; $custom-light: #815fa5; $custom-dark: #000000;
JSON
{
"hex": "#491f7f",
"rgb": {
"r": 73,
"g": 31,
"b": 127
},
"hsl": {
"h": 266.25,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.35798,
"c": 0.15111,
"h": 298.3
},
"luminance": 0.03929
}Semantic roles & 50–950 ramp
primary
#491F7F
secondary
#84B248
accent
#E4449E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F