#504A5A#504A5A
#504A5A is a dark, muted violet. Relative luminance 0.073; OKLCH L 42.1% C 0.027 H 302.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #504A5A |
|---|---|
| RGB | rgb(80, 74, 90) |
| HSL | hsl(263, 10%, 32%) |
| HSV | hsv(263, 18%, 35%) |
| CMYK | cmyk(11.1%, 17.8%, 0%, 64.7%) |
| CIE-LAB | lab(32.57, 6.07, -8.51) |
| CIE-LCH | lch(32.57, 10.46, 305.49°) |
| OKLab | oklab(42.1% 0.0146 -0.023) |
| OKLCH | oklch(42.1% 0.027 302.3) |
| XYZ | xyz(7.6022, 7.3412, 10.6874) |
| Luminance | 0.0734 (WCAG relative) |
| Temperature | neutral |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 11.26
Charcoal Grey
#3C4142
ΔE00 12.14
Dark Grey
#363737
ΔE00 12.46
Dirty Purple
#734A65
ΔE00 12.57
Onyx
#353839
ΔE00 12.64
Charcoal
#36454F
ΔE00 12.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504A5A #545A4A
analogous
#4A4C5A #504A5A #584A5A
triadic
#504A5A #5A504A #4A5A50
tetradic
#504A5A #5A4A4C #545A4A #4A5A58
square
#504A5A #5A4A4C #545A4A #4A5A58
split-complementary
#504A5A #5A584A #4C5A4A
monochromatic
#141317 #322E38 #504A5A #6E667C #8C849A
Accessibility & contrast
On white
8.51
#504A5A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#504A5A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #504A5A
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504A5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504A5A | 1.00 | 8.51 | 2.47 | 8.51 |
| #FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474C5B
Deuteranopia (green-blind)
#484D59
Tritanopia (blue-blind)
#4F4C4F
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #504a5a; /* rgb */ color: rgb(80, 74, 90); /* oklch */ color: oklch(42.1% 0.027 302.3);
Tailwind
colors: {
custom: {
50: '#817c88',
500: '#504a5a',
950: '#000000',
},
}SCSS
$custom: #504a5a; $custom-light: #817c88; $custom-dark: #000000;
JSON
{
"hex": "#504a5a",
"rgb": {
"r": 80,
"g": 74,
"b": 90
},
"hsl": {
"h": 262.5,
"s": 9.756,
"l": 32.157
},
"oklch": {
"l": 0.42102,
"c": 0.02724,
"h": 302.3
},
"luminance": 0.07341
}Semantic roles & 50–950 ramp
primary
#504A5A
secondary
#828977
accent
#B3759C
background
#F7F7F8
surface
#EEEEEF
border
#C9C9CA
text
#0A090B
muted
#7C7B7C