#501D6F#501D6F
#501D6F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.137 H 309.5°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #501D6F |
|---|---|
| RGB | rgb(80, 29, 111) |
| HSL | hsl(277, 59%, 27%) |
| HSV | hsv(277, 74%, 44%) |
| CMYK | cmyk(27.9%, 73.9%, 0%, 56.5%) |
| CIE-LAB | lab(22.76, 38.59, -37.39) |
| CIE-LCH | lch(22.76, 53.73, 315.91°) |
| OKLab | oklab(35.13% 0.0873 -0.1058) |
| OKLCH | oklch(35.13% 0.137 309.5) |
| XYZ | xyz(6.6163, 3.7320, 15.4077) |
| Luminance | 0.0373 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.23
Indigo
#4B0082
ΔE00 5.72
Plum Purple
#4E0550
ΔE00 7.07
Indigo (survey)
#380282
ΔE00 7.65
Darkish Purple
#751973
ΔE00 7.91
Deep Violet
#490648
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#501D6F #3C6F1D
analogous
#271D6F #501D6F #6F1D65
triadic
#501D6F #6F501D #1D6F50
tetradic
#501D6F #6F271D #3C6F1D #1D656F
square
#501D6F #6F271D #3C6F1D #1D656F
split-complementary
#501D6F #656F1D #1D6F27
monochromatic
#110618 #2D103E #501D6F #732AA0 #953BCC
Accessibility & contrast
On white
12.02
#501D6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#501D6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #501D6F
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##501D6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##501D6F | 1.00 | 12.02 | 1.75 | 12.02 |
| #FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#0C376D
Tritanopia (blue-blind)
#4C2F44
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #501d6f; /* rgb */ color: rgb(80, 29, 111); /* oklch */ color: oklch(35.1% 0.137 309.5);
Tailwind
colors: {
custom: {
50: '#845e99',
500: '#501d6f',
950: '#000000',
},
}SCSS
$custom: #501d6f; $custom-light: #845e99; $custom-dark: #000000;
JSON
{
"hex": "#501d6f",
"rgb": {
"r": 80,
"g": 29,
"b": 111
},
"hsl": {
"h": 277.317,
"s": 58.571,
"l": 27.451
},
"oklch": {
"l": 0.35125,
"c": 0.13719,
"h": 309.5
},
"luminance": 0.03732
}Semantic roles & 50–950 ramp
primary
#501D6F
secondary
#68A344
accent
#E24681
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E