#513D4E#513D4E

#513D4E is a dark, muted purple. Relative luminance 0.056; OKLCH L 38.8% C 0.039 H 331.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#513D4E
RGBrgb(81, 61, 78)
HSLhsl(309, 14%, 28%)
HSVhsv(309, 25%, 32%)
CMYKcmyk(0%, 24.7%, 3.7%, 68.2%)
CIE-LABlab(28.48, 12.09, -6.92)
CIE-LCHlch(28.48, 13.94, 330.20°)
OKLaboklab(38.81% 0.034 -0.0185)
OKLCHoklch(38.81% 0.039 331.5)
XYZxyz(6.4371, 5.6371, 7.9552)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513D4E #3D5140
analogous
#4A3D51 #513D4E #513D44
triadic
#513D4E #4E513D #3D4E51
tetradic
#513D4E #514A3D #3D5140 #3D4451
square
#513D4E #514A3D #3D5140 #3D4451
split-complementary
#513D4E #44513D #3D514A
monochromatic
#110D11 #2E232C #513D4E #745770 #957390

Accessibility & contrast

On white

9.87
#513D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#513D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513D4E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513D4E#FFFFFF#000000##FFFFFF
##513D4E1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D424F
Deuteranopia (green-blind)
#41444D
Tritanopia (blue-blind)
#533E43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #513d4e;
/* rgb */ color: rgb(81, 61, 78);
/* oklch */ color: oklch(38.8% 0.039 331.5);
Tailwind
colors: {
  custom: {
    50: '#82727f',
    500: '#513d4e',
    950: '#000000',
  },
}
SCSS
$custom: #513d4e;
$custom-light: #82727f;
$custom-dark: #000000;
JSON
{
  "hex": "#513d4e",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 78
  },
  "hsl": {
    "h": 309,
    "s": 14.085,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38812,
    "c": 0.03876,
    "h": 331.5
  },
  "luminance": 0.05637
}

Semantic roles & 50–950 ramp

primary
#513D4E
secondary
#69806D
accent
#B77B71
background
#F7F6F7
surface
#EEECEE
border
#C9C7C9
text
#0A080A
muted
#7C7B7C

Preview Lab

Preview with #513D4E

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

Preview Lab → · Contrast checker → · Palette generator →

#513D4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva