#501B6E#501B6E
#501B6E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.139 H 310.3°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).
Color values
| HEX | #501B6E |
|---|---|
| RGB | rgb(80, 27, 110) |
| HSL | hsl(278, 61%, 27%) |
| HSV | hsv(278, 75%, 43%) |
| CMYK | cmyk(27.3%, 75.5%, 0%, 56.9%) |
| CIE-LAB | lab(22.36, 39.29, -37.40) |
| CIE-LCH | lch(22.36, 54.24, 316.41°) |
| OKLab | oklab(34.81% 0.0897 -0.1059) |
| OKLCH | oklch(34.81% 0.139 310.3) |
| XYZ | xyz(6.5141, 3.6153, 15.1035) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.90
Indigo
#4B0082
ΔE00 5.59
Plum Purple
#4E0550
ΔE00 6.75
Indigo (survey)
#380282
ΔE00 7.57
Darkish Purple
#751973
ΔE00 7.84
Deep Violet
#490648
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#501B6E #396E1B
analogous
#261B6E #501B6E #6E1B63
triadic
#501B6E #6E501B #1B6E50
tetradic
#501B6E #6E261B #396E1B #1B636E
square
#501B6E #6E261B #396E1B #1B636E
split-complementary
#501B6E #636E1B #1B6E26
monochromatic
#120619 #2C0F3D #501B6E #74279F #9736CE
Accessibility & contrast
On white
12.19
#501B6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#501B6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #501B6E
12.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##501B6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##501B6E | 1.00 | 12.19 | 1.72 | 12.19 |
| #FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#0B366C
Tritanopia (blue-blind)
#4C2E43
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #501b6e; /* rgb */ color: rgb(80, 27, 110); /* oklch */ color: oklch(34.8% 0.139 310.3);
Tailwind
colors: {
custom: {
50: '#855d98',
500: '#501b6e',
950: '#000000',
},
}SCSS
$custom: #501b6e; $custom-light: #855d98; $custom-dark: #000000;
JSON
{
"hex": "#501b6e",
"rgb": {
"r": 80,
"g": 27,
"b": 110
},
"hsl": {
"h": 278.313,
"s": 60.584,
"l": 26.863
},
"oklch": {
"l": 0.3481,
"c": 0.13875,
"h": 310.3
},
"luminance": 0.03615
}Semantic roles & 50–950 ramp
primary
#501B6E
secondary
#65A342
accent
#E4447E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E