#541C9F#541C9F
#541C9F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.8% C 0.190 H 295.4°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #541C9F |
|---|---|
| RGB | rgb(84, 28, 159) |
| HSL | hsl(266, 70%, 37%) |
| HSV | hsv(266, 82%, 62%) |
| CMYK | cmyk(47.2%, 82.4%, 0%, 37.6%) |
| CIE-LAB | lab(27.35, 51.75, -59.95) |
| CIE-LCH | lch(27.35, 79.20, 310.80°) |
| OKLab | oklab(39.75% 0.0818 -0.172) |
| OKLCH | oklch(39.75% 0.19 295.4) |
| XYZ | xyz(10.3277, 5.2183, 33.2572) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.41
Violet Blue
#510AC9
ΔE00 5.58
Indigo
#4B0082
ΔE00 5.66
Rebeccapurple
#663399
ΔE00 5.83
Indigo (survey)
#380282
ΔE00 6.76
Ultramarine
#2000B1
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#541C9F #679F1C
analogous
#1C269F #541C9F #961C9F
triadic
#541C9F #9F541C #1C9F54
tetradic
#541C9F #9F1C26 #679F1C #1C9F96
square
#541C9F #9F1C26 #679F1C #1C9F96
split-complementary
#541C9F #9F961C #269F1C
monochromatic
#1D0A37 #39136B #541C9F #6F25D3 #9154E1
Accessibility & contrast
On white
10.27
#541C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#541C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #541C9F
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##541C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##541C9F | 1.00 | 10.27 | 2.04 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#3E425F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #541c9f; /* rgb */ color: rgb(84, 28, 159); /* oklch */ color: oklch(39.8% 0.190 295.4);
Tailwind
colors: {
custom: {
50: '#8c60bc',
500: '#541c9f',
950: '#000000',
},
}SCSS
$custom: #541c9f; $custom-light: #8c60bc; $custom-dark: #000000;
JSON
{
"hex": "#541c9f",
"rgb": {
"r": 84,
"g": 28,
"b": 159
},
"hsl": {
"h": 265.649,
"s": 70.053,
"l": 36.667
},
"oklch": {
"l": 0.3975,
"c": 0.19042,
"h": 295.4
},
"luminance": 0.05219
}Semantic roles & 50–950 ramp
primary
#541C9F
secondary
#94C453
accent
#ED3BA1
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81