#514B5E#514B5E
#514B5E is a dark, muted violet. Relative luminance 0.076; OKLCH L 42.6% C 0.032 H 299.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #514B5E |
|---|---|
| RGB | rgb(81, 75, 94) |
| HSL | hsl(259, 11%, 33%) |
| HSV | hsv(259, 20%, 37%) |
| CMYK | cmyk(13.8%, 20.2%, 0%, 63.1%) |
| CIE-LAB | lab(33.11, 6.78, -10.23) |
| CIE-LCH | lch(33.11, 12.27, 303.54°) |
| OKLab | oklab(42.6% 0.0157 -0.0278) |
| OKLCH | oklch(42.6% 0.032 299.5) |
| XYZ | xyz(7.9294, 7.5896, 11.6347) |
| Luminance | 0.0759 (WCAG relative) |
| Temperature | neutral |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 10.12
Dirty Purple
#734A65
ΔE00 12.11
Purplish Grey
#7A687F
ΔE00 12.54
Twilight
#4E518B
ΔE00 12.74
Charcoal Grey
#3C4142
ΔE00 13.24
Charcoal
#36454F
ΔE00 13.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514B5E #585E4B
analogous
#4B4E5E #514B5E #5A4B5E
triadic
#514B5E #5E514B #4B5E51
tetradic
#514B5E #5E4B4E #585E4B #4B5E5A
square
#514B5E #5E4B4E #585E4B #4B5E5A
split-complementary
#514B5E #5E5A4B #4E5E4B
monochromatic
#16151A #34303C #514B5E #6E6680 #8D859E
Accessibility & contrast
On white
8.34
#514B5E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#514B5E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514B5E
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514B5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514B5E | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474E5F
Deuteranopia (green-blind)
#484E5D
Tritanopia (blue-blind)
#4F4E51
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #514b5e; /* rgb */ color: rgb(81, 75, 94); /* oklch */ color: oklch(42.6% 0.032 299.5);
Tailwind
colors: {
custom: {
50: '#827d8b',
500: '#514b5e',
950: '#000000',
},
}SCSS
$custom: #514b5e; $custom-light: #827d8b; $custom-dark: #000000;
JSON
{
"hex": "#514b5e",
"rgb": {
"r": 81,
"g": 75,
"b": 94
},
"hsl": {
"h": 258.947,
"s": 11.243,
"l": 33.137
},
"oklch": {
"l": 0.42596,
"c": 0.0319,
"h": 299.5
},
"luminance": 0.0759
}Semantic roles & 50–950 ramp
primary
#514B5E
secondary
#868C79
accent
#B474A0
background
#F7F7F8
surface
#EEEEF0
border
#C9C9CB
text
#0A090C
muted
#7C7B7D