#501C9F#501C9F
#501C9F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.3% C 0.190 H 293.4°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #501C9F |
|---|---|
| RGB | rgb(80, 28, 159) |
| HSL | hsl(264, 70%, 37%) |
| HSV | hsv(264, 82%, 62%) |
| CMYK | cmyk(49.7%, 82.4%, 0%, 37.6%) |
| CIE-LAB | lab(26.84, 51.21, -60.80) |
| CIE-LCH | lch(26.84, 79.49, 310.11°) |
| OKLab | oklab(39.29% 0.0755 -0.1746) |
| OKLCH | oklch(39.29% 0.19 293.4) |
| XYZ | xyz(9.9798, 5.0388, 33.2409) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.89
Violet Blue
#510AC9
ΔE00 5.52
Indigo
#4B0082
ΔE00 5.61
Rebeccapurple
#663399
ΔE00 6.29
Ultramarine
#2000B1
ΔE00 6.31
Indigo (survey)
#380282
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#501C9F #6B9F1C
analogous
#1C2A9F #501C9F #921C9F
triadic
#501C9F #9F501C #1C9F50
tetradic
#501C9F #9F1C2A #6B9F1C #1C9F92
square
#501C9F #9F1C2A #6B9F1C #1C9F92
split-complementary
#501C9F #9F921C #2A9F1C
monochromatic
#1C0A37 #36136B #501C9F #6A25D3 #8C54E1
Accessibility & contrast
On white
10.46
#501C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#501C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #501C9F
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##501C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##501C9F | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#37435F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #501c9f; /* rgb */ color: rgb(80, 28, 159); /* oklch */ color: oklch(39.3% 0.190 293.4);
Tailwind
colors: {
custom: {
50: '#8a60bd',
500: '#501c9f',
950: '#000000',
},
}SCSS
$custom: #501c9f; $custom-light: #8a60bd; $custom-dark: #000000;
JSON
{
"hex": "#501c9f",
"rgb": {
"r": 80,
"g": 28,
"b": 159
},
"hsl": {
"h": 263.817,
"s": 70.053,
"l": 36.667
},
"oklch": {
"l": 0.3929,
"c": 0.19019,
"h": 293.4
},
"luminance": 0.05039
}Semantic roles & 50–950 ramp
primary
#501C9F
secondary
#97C453
accent
#ED3BA6
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981