#541C9D#541C9D
#541C9D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.6% C 0.188 H 296.0°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #541C9D |
|---|---|
| RGB | rgb(84, 28, 157) |
| HSL | hsl(266, 70%, 36%) |
| HSV | hsv(266, 82%, 62%) |
| CMYK | cmyk(46.5%, 82.2%, 0%, 38.4%) |
| CIE-LAB | lab(27.16, 51.24, -59.05) |
| CIE-LCH | lch(27.16, 78.18, 310.95°) |
| OKLab | oklab(39.56% 0.0825 -0.1693) |
| OKLCH | oklch(39.56% 0.188 296) |
| XYZ | xyz(10.1556, 5.1494, 32.3506) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.62
Indigo
#4B0082
ΔE00 5.43
Rebeccapurple
#663399
ΔE00 5.77
Violet Blue
#510AC9
ΔE00 5.87
Indigo (survey)
#380282
ΔE00 6.60
Ultramarine
#2000B1
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#541C9D #659D1C
analogous
#1C249D #541C9D #951C9D
triadic
#541C9D #9D541C #1C9D54
tetradic
#541C9D #9D1C24 #659D1C #1C9D95
square
#541C9D #9D1C24 #659D1C #1C9D95
split-complementary
#541C9D #9D951C #249D1C
monochromatic
#1C0935 #381369 #541C9D #7025D1 #9053E0
Accessibility & contrast
On white
10.34
#541C9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#541C9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #541C9D
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##541C9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##541C9D | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#3F415E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #541c9d; /* rgb */ color: rgb(84, 28, 157); /* oklch */ color: oklch(39.6% 0.188 296.0);
Tailwind
colors: {
custom: {
50: '#8c60bb',
500: '#541c9d',
950: '#000000',
},
}SCSS
$custom: #541c9d; $custom-light: #8c60bb; $custom-dark: #000000;
JSON
{
"hex": "#541c9d",
"rgb": {
"r": 84,
"g": 28,
"b": 157
},
"hsl": {
"h": 266.047,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.39559,
"c": 0.18833,
"h": 296
},
"luminance": 0.0515
}Semantic roles & 50–950 ramp
primary
#541C9D
secondary
#92C351
accent
#ED3BA0
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981