#541A9F#541A9F
#541A9F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.6% C 0.192 H 295.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #541A9F |
|---|---|
| RGB | rgb(84, 26, 159) |
| HSL | hsl(266, 72%, 36%) |
| HSV | hsv(266, 84%, 62%) |
| CMYK | cmyk(47.2%, 83.6%, 0%, 37.6%) |
| CIE-LAB | lab(27.09, 52.50, -60.37) |
| CIE-LCH | lch(27.09, 80.01, 311.01°) |
| OKLab | oklab(39.57% 0.0831 -0.1732) |
| OKLCH | oklch(39.57% 0.192 295.6) |
| XYZ | xyz(10.2819, 5.1265, 33.2420) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.38
Indigo
#4B0082
ΔE00 5.47
Violet Blue
#510AC9
ΔE00 5.55
Rebeccapurple
#663399
ΔE00 6.05
Indigo (survey)
#380282
ΔE00 6.60
Ultramarine
#2000B1
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#541A9F #659F1A
analogous
#1A239F #541A9F #971A9F
triadic
#541A9F #9F541A #1A9F54
tetradic
#541A9F #9F1A23 #659F1A #1A9F97
square
#541A9F #9F1A23 #659F1A #1A9F97
split-complementary
#541A9F #9F971A #239F1A
monochromatic
#1C0936 #38116A #541A9F #7023D4 #9051E3
Accessibility & contrast
On white
10.37
#541A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#541A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #541A9F
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##541A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##541A9F | 1.00 | 10.37 | 2.03 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#3E425E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #541a9f; /* rgb */ color: rgb(84, 26, 159); /* oklch */ color: oklch(39.6% 0.192 295.6);
Tailwind
colors: {
custom: {
50: '#8c60bd',
500: '#541a9f',
950: '#000000',
},
}SCSS
$custom: #541a9f; $custom-light: #8c60bd; $custom-dark: #000000;
JSON
{
"hex": "#541a9f",
"rgb": {
"r": 84,
"g": 26,
"b": 159
},
"hsl": {
"h": 266.165,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.39574,
"c": 0.19209,
"h": 295.6
},
"luminance": 0.05127
}Semantic roles & 50–950 ramp
primary
#541A9F
secondary
#92C550
accent
#EF399F
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981