#501F6F#501F6F
#501F6F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.134 H 309.2°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).
Color values
| HEX | #501F6F |
|---|---|
| RGB | rgb(80, 31, 111) |
| HSL | hsl(277, 56%, 28%) |
| HSV | hsv(277, 72%, 44%) |
| CMYK | cmyk(27.9%, 72.1%, 0%, 56.5%) |
| CIE-LAB | lab(23.11, 37.62, -36.82) |
| CIE-LCH | lch(23.11, 52.64, 315.61°) |
| OKLab | oklab(35.37% 0.085 -0.1042) |
| OKLCH | oklch(35.37% 0.134 309.2) |
| XYZ | xyz(6.6669, 3.8333, 15.4245) |
| Luminance | 0.0383 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.65
Indigo
#4B0082
ΔE00 6.05
Plum Purple
#4E0550
ΔE00 7.24
Indigo (survey)
#380282
ΔE00 7.92
Darkish Purple
#751973
ΔE00 7.92
Rebeccapurple
#663399
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#501F6F #3E6F1F
analogous
#281F6F #501F6F #6F1F66
triadic
#501F6F #6F501F #1F6F50
tetradic
#501F6F #6F281F #3E6F1F #1F666F
square
#501F6F #6F281F #3E6F1F #1F666F
split-complementary
#501F6F #666F1F #1F6F28
monochromatic
#110718 #2E123F #501F6F #722C9F #943FC9
Accessibility & contrast
On white
11.89
#501F6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#501F6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #501F6F
11.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##501F6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##501F6F | 1.00 | 11.89 | 1.77 | 11.89 |
| #FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#10386D
Tritanopia (blue-blind)
#4B3044
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #501f6f; /* rgb */ color: rgb(80, 31, 111); /* oklch */ color: oklch(35.4% 0.134 309.2);
Tailwind
colors: {
custom: {
50: '#845f99',
500: '#501f6f',
950: '#000000',
},
}SCSS
$custom: #501f6f; $custom-light: #845f99; $custom-dark: #000000;
JSON
{
"hex": "#501f6f",
"rgb": {
"r": 80,
"g": 31,
"b": 111
},
"hsl": {
"h": 276.75,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.35373,
"c": 0.13446,
"h": 309.2
},
"luminance": 0.03833
}Semantic roles & 50–950 ramp
primary
#501F6F
secondary
#6BA347
accent
#E04883
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E