#541A7C#541A7C
#541A7C is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.156 H 307.0°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #541A7C |
|---|---|
| RGB | rgb(84, 26, 124) |
| HSL | hsl(276, 65%, 29%) |
| HSV | hsv(276, 79%, 49%) |
| CMYK | cmyk(32.3%, 79%, 0%, 51.4%) |
| CIE-LAB | lab(23.93, 43.89, -43.79) |
| CIE-LCH | lch(23.93, 62.00, 315.06°) |
| OKLab | oklab(36.4% 0.0938 -0.1245) |
| OKLCH | oklch(36.4% 0.156 307) |
| XYZ | xyz(7.6629, 4.0789, 19.4485) |
| Luminance | 0.0408 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.97
Royal Purple (survey)
#4B006E
ΔE00 4.09
Indigo (survey)
#380282
ΔE00 6.34
Rebeccapurple
#663399
ΔE00 7.05
Darkish Purple
#751973
ΔE00 8.18
Purple (survey)
#7E1E9C
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#541A7C #427C1A
analogous
#231A7C #541A7C #7C1A73
triadic
#541A7C #7C541A #1A7C54
tetradic
#541A7C #7C231A #427C1A #1A737C
square
#541A7C #7C231A #427C1A #1A737C
split-complementary
#541A7C #737C1A #1A7C23
monochromatic
#110519 #320F49 #541A7C #7625AF #963BD6
Accessibility & contrast
On white
11.57
#541A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#541A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #541A7C
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##541A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##541A7C | 1.00 | 11.57 | 1.82 | 11.57 |
| #FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#4D324A
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #541a7c; /* rgb */ color: rgb(84, 26, 124); /* oklch */ color: oklch(36.4% 0.156 307.0);
Tailwind
colors: {
custom: {
50: '#895ea3',
500: '#541a7c',
950: '#000000',
},
}SCSS
$custom: #541a7c; $custom-light: #895ea3; $custom-dark: #000000;
JSON
{
"hex": "#541a7c",
"rgb": {
"r": 84,
"g": 26,
"b": 124
},
"hsl": {
"h": 275.51,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.36402,
"c": 0.15588,
"h": 307
},
"luminance": 0.04079
}Semantic roles & 50–950 ramp
primary
#541A7C
secondary
#6FB042
accent
#E84084
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F