#541EA6#541EA6
#541EA6 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.196 H 293.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #541EA6 |
|---|---|
| RGB | rgb(84, 30, 166) |
| HSL | hsl(264, 69%, 38%) |
| HSV | hsv(264, 82%, 65%) |
| CMYK | cmyk(49.4%, 81.9%, 0%, 34.9%) |
| CIE-LAB | lab(28.29, 52.77, -62.65) |
| CIE-LCH | lch(28.29, 81.91, 310.10°) |
| OKLab | oklab(40.61% 0.078 -0.1799) |
| OKLCH | oklch(40.61% 0.196 293.4) |
| XYZ | xyz(11.0014, 5.5662, 36.5637) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.88
Violet Blue
#510AC9
ΔE00 4.66
Purple Blue
#5D21D0
ΔE00 5.89
Rebeccapurple
#663399
ΔE00 5.92
Ultramarine
#2000B1
ΔE00 6.67
Indigo
#4B0082
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#541EA6 #70A61E
analogous
#1E2CA6 #541EA6 #981EA6
triadic
#541EA6 #A6541E #1EA654
tetradic
#541EA6 #A61E2C #70A61E #1EA698
square
#541EA6 #A61E2C #70A61E #1EA698
split-complementary
#541EA6 #A6981E #2CA61E
monochromatic
#200B3E #3A1572 #541EA6 #6F29D8 #925DE2
Accessibility & contrast
On white
9.94
#541EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#541EA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #541EA6
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##541EA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##541EA6 | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#0040A4
Tritanopia (blue-blind)
#3A4663
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #541ea6; /* rgb */ color: rgb(84, 30, 166); /* oklch */ color: oklch(40.6% 0.196 293.4);
Tailwind
colors: {
custom: {
50: '#8d62c2',
500: '#541ea6',
950: '#000000',
},
}SCSS
$custom: #541ea6; $custom-light: #8d62c2; $custom-dark: #000000;
JSON
{
"hex": "#541ea6",
"rgb": {
"r": 84,
"g": 30,
"b": 166
},
"hsl": {
"h": 263.824,
"s": 69.388,
"l": 38.431
},
"oklch": {
"l": 0.40607,
"c": 0.19607,
"h": 293.4
},
"luminance": 0.05567
}Semantic roles & 50–950 ramp
primary
#541EA6
secondary
#9BC65A
accent
#EC3CA6
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0512
muted
#7E7A81