#501B6F#501B6F
#501B6F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.140 H 309.8°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).
Color values
| HEX | #501B6F |
|---|---|
| RGB | rgb(80, 27, 111) |
| HSL | hsl(278, 61%, 27%) |
| HSV | hsv(278, 76%, 44%) |
| CMYK | cmyk(27.9%, 75.7%, 0%, 56.5%) |
| CIE-LAB | lab(22.43, 39.53, -37.92) |
| CIE-LCH | lch(22.43, 54.77, 316.19°) |
| OKLab | oklab(34.89% 0.0895 -0.1074) |
| OKLCH | oklch(34.89% 0.14 309.8) |
| XYZ | xyz(6.5689, 3.6372, 15.3918) |
| Luminance | 0.0364 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.84
Indigo
#4B0082
ΔE00 5.42
Plum Purple
#4E0550
ΔE00 6.94
Indigo (survey)
#380282
ΔE00 7.41
Darkish Purple
#751973
ΔE00 7.91
Deep Violet
#490648
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#501B6F #3A6F1B
analogous
#261B6F #501B6F #6F1B64
triadic
#501B6F #6F501B #1B6F50
tetradic
#501B6F #6F261B #3A6F1B #1B646F
square
#501B6F #6F261B #3A6F1B #1B646F
split-complementary
#501B6F #646F1B #1B6F26
monochromatic
#120619 #2D0F3E #501B6F #7327A0 #9636CE
Accessibility & contrast
On white
12.16
#501B6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#501B6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #501B6F
12.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##501B6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##501B6F | 1.00 | 12.16 | 1.73 | 12.16 |
| #FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#09366D
Tritanopia (blue-blind)
#4C2E43
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #501b6f; /* rgb */ color: rgb(80, 27, 111); /* oklch */ color: oklch(34.9% 0.140 309.8);
Tailwind
colors: {
custom: {
50: '#855d99',
500: '#501b6f',
950: '#000000',
},
}SCSS
$custom: #501b6f; $custom-light: #855d99; $custom-dark: #000000;
JSON
{
"hex": "#501b6f",
"rgb": {
"r": 80,
"g": 27,
"b": 111
},
"hsl": {
"h": 277.857,
"s": 60.87,
"l": 27.059
},
"oklch": {
"l": 0.3489,
"c": 0.13982,
"h": 309.8
},
"luminance": 0.03637
}Semantic roles & 50–950 ramp
primary
#501B6F
secondary
#66A442
accent
#E4447F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E