#541EA7#541EA7
#541EA7 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.7% C 0.197 H 293.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #541EA7 |
|---|---|
| RGB | rgb(84, 30, 167) |
| HSL | hsl(264, 70%, 39%) |
| HSV | hsv(264, 82%, 65%) |
| CMYK | cmyk(49.7%, 82%, 0%, 34.5%) |
| CIE-LAB | lab(28.39, 53.02, -63.10) |
| CIE-LCH | lch(28.39, 82.42, 310.04°) |
| OKLab | oklab(40.7% 0.0777 -0.1812) |
| OKLCH | oklch(40.7% 0.197 293.2) |
| XYZ | xyz(11.0935, 5.6030, 37.0487) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.82
Violet Blue
#510AC9
ΔE00 4.53
Purple Blue
#5D21D0
ΔE00 5.76
Rebeccapurple
#663399
ΔE00 5.97
Ultramarine
#2000B1
ΔE00 6.64
Indigo
#4B0082
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#541EA7 #71A71E
analogous
#1E2CA7 #541EA7 #981EA7
triadic
#541EA7 #A7541E #1EA754
tetradic
#541EA7 #A71E2C #71A71E #1EA798
square
#541EA7 #A71E2C #71A71E #1EA798
split-complementary
#541EA7 #A7981E #2CA71E
monochromatic
#200B3F #3A1573 #541EA7 #6F2AD9 #925DE2
Accessibility & contrast
On white
9.90
#541EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#541EA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #541EA7
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##541EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##541EA7 | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0040A5
Tritanopia (blue-blind)
#394764
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #541ea7; /* rgb */ color: rgb(84, 30, 167); /* oklch */ color: oklch(40.7% 0.197 293.2);
Tailwind
colors: {
custom: {
50: '#8d62c2',
500: '#541ea7',
950: '#000000',
},
}SCSS
$custom: #541ea7; $custom-light: #8d62c2; $custom-dark: #000000;
JSON
{
"hex": "#541ea7",
"rgb": {
"r": 84,
"g": 30,
"b": 167
},
"hsl": {
"h": 263.65,
"s": 69.543,
"l": 38.627
},
"oklch": {
"l": 0.40704,
"c": 0.19713,
"h": 293.2
},
"luminance": 0.05603
}Semantic roles & 50–950 ramp
primary
#541EA7
secondary
#9CC65B
accent
#EC3BA7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0513
muted
#7E7A82