#54106F#54106F
#54106F is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.4% C 0.153 H 313.5°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).
Color values
| HEX | #54106F |
|---|---|
| RGB | rgb(84, 16, 111) |
| HSL | hsl(283, 75%, 25%) |
| HSV | hsv(283, 86%, 44%) |
| CMYK | cmyk(24.3%, 85.6%, 0%, 56.5%) |
| CIE-LAB | lab(21.59, 44.62, -39.25) |
| CIE-LCH | lch(21.59, 59.43, 318.66°) |
| OKLab | oklab(34.43% 0.1056 -0.1111) |
| OKLCH | oklch(34.43% 0.153 313.5) |
| XYZ | xyz(6.7102, 3.4033, 15.3393) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.69
Indigo
#4B0082
ΔE00 4.84
Plum Purple
#4E0550
ΔE00 6.28
Indigo (survey)
#380282
ΔE00 7.27
Darkish Purple
#751973
ΔE00 7.34
Deep Violet
#490648
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54106F #2B6F10
analogous
#24106F #54106F #6F105B
triadic
#54106F #6F5410 #106F54
tetradic
#54106F #6F2410 #2B6F10 #105B6F
square
#54106F #6F2410 #2B6F10 #105B6F
split-complementary
#54106F #5B6F10 #106F24
monochromatic
#14041B #2C083A #54106F #7C18A4 #A51FDA
Accessibility & contrast
On white
12.50
#54106F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#54106F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #54106F
12.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54106F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##54106F | 1.00 | 12.50 | 1.68 | 12.50 |
| #FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#03356D
Tritanopia (blue-blind)
#512841
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #54106f; /* rgb */ color: rgb(84, 16, 111); /* oklch */ color: oklch(34.4% 0.153 313.5);
Tailwind
colors: {
custom: {
50: '#885999',
500: '#54106f',
950: '#000000',
},
}SCSS
$custom: #54106f; $custom-light: #885999; $custom-dark: #000000;
JSON
{
"hex": "#54106f",
"rgb": {
"r": 84,
"g": 16,
"b": 111
},
"hsl": {
"h": 282.947,
"s": 74.803,
"l": 24.902
},
"oklch": {
"l": 0.34429,
"c": 0.15327,
"h": 313.5
},
"luminance": 0.03403
}Semantic roles & 50–950 ramp
primary
#54106F
secondary
#55A734
accent
#F1366C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E