#504258#504258

#504258 is a dark, muted violet. Relative luminance 0.063; OKLCH L 40.2% C 0.040 H 313.1°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#504258
RGBrgb(80, 66, 88)
HSLhsl(278, 14%, 30%)
HSVhsv(278, 25%, 35%)
CMYKcmyk(9.1%, 25%, 0%, 65.5%)
CIE-LABlab(30.17, 10.74, -10.86)
CIE-LCHlch(30.17, 15.27, 314.67°)
OKLaboklab(40.22% 0.0276 -0.0295)
OKLCHoklch(40.22% 0.04 313.1)
XYZxyz(7.0176, 6.3066, 10.0782)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504258 #4A5842
analogous
#454258 #504258 #584255
triadic
#504258 #585042 #425850
tetradic
#504258 #584542 #4A5842 #425558
square
#504258 #584542 #4A5842 #425558
split-complementary
#504258 #555842 #425845
monochromatic
#100E12 #302835 #504258 #705C7B #8F7A9B

Accessibility & contrast

On white

9.29
#504258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#504258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504258
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504258#FFFFFF#000000##FFFFFF
##5042581.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4659
Deuteranopia (green-blind)
#424757
Tritanopia (blue-blind)
#4F454A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #504258;
/* rgb */ color: rgb(80, 66, 88);
/* oklch */ color: oklch(40.2% 0.040 313.1);
Tailwind
colors: {
  custom: {
    50: '#817687',
    500: '#504258',
    950: '#000000',
  },
}
SCSS
$custom: #504258;
$custom-light: #817687;
$custom-dark: #000000;
JSON
{
  "hex": "#504258",
  "rgb": {
    "r": 80,
    "g": 66,
    "b": 88
  },
  "hsl": {
    "h": 278.182,
    "s": 14.286,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4022,
    "c": 0.04037,
    "h": 313.1
  },
  "luminance": 0.06306
}

Semantic roles & 50–950 ramp

primary
#504258
secondary
#78876F
accent
#B7718A
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A080B
muted
#7C7B7C

Preview Lab

Preview with #504258

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#504258 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva