#501F6C#501F6C
#501F6C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.131 H 310.6°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).
Color values
| HEX | #501F6C |
|---|---|
| RGB | rgb(80, 31, 108) |
| HSL | hsl(278, 55%, 27%) |
| HSV | hsv(278, 71%, 42%) |
| CMYK | cmyk(25.9%, 71.3%, 0%, 57.6%) |
| CIE-LAB | lab(22.89, 36.89, -35.24) |
| CIE-LCH | lch(22.89, 51.02, 316.31°) |
| OKLab | oklab(35.14% 0.0853 -0.0996) |
| OKLCH | oklch(35.14% 0.131 310.6) |
| XYZ | xyz(6.5045, 3.7683, 14.5692) |
| Luminance | 0.0377 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.85
Indigo
#4B0082
ΔE00 6.55
Plum Purple
#4E0550
ΔE00 6.73
Darkish Purple
#751973
ΔE00 7.75
Deep Violet
#490648
ΔE00 7.99
Indigo (survey)
#380282
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#501F6C #3B6C1F
analogous
#2A1F6C #501F6C #6C1F62
triadic
#501F6C #6C501F #1F6C50
tetradic
#501F6C #6C2A1F #3B6C1F #1F626C
square
#501F6C #6C2A1F #3B6C1F #1F626C
split-complementary
#501F6C #626C1F #1F6C2A
monochromatic
#120718 #2D113C #501F6C #732D9C #953EC8
Accessibility & contrast
On white
11.98
#501F6C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#501F6C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #501F6C
11.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##501F6C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##501F6C | 1.00 | 11.98 | 1.75 | 11.98 |
| #FFFFFF | 11.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#14376A
Tritanopia (blue-blind)
#4C2F43
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #501f6c; /* rgb */ color: rgb(80, 31, 108); /* oklch */ color: oklch(35.1% 0.131 310.6);
Tailwind
colors: {
custom: {
50: '#845f97',
500: '#501f6c',
950: '#000000',
},
}SCSS
$custom: #501f6c; $custom-light: #845f97; $custom-dark: #000000;
JSON
{
"hex": "#501f6c",
"rgb": {
"r": 80,
"g": 31,
"b": 108
},
"hsl": {
"h": 278.182,
"s": 55.396,
"l": 27.255
},
"oklch": {
"l": 0.35143,
"c": 0.13111,
"h": 310.6
},
"luminance": 0.03768
}Semantic roles & 50–950 ramp
primary
#501F6C
secondary
#67A047
accent
#DF497F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050D
muted
#7C797E