#513A4E#513A4E

#513A4E is a dark, muted purple. Relative luminance 0.053; OKLCH L 38.2% C 0.045 H 330.9°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#513A4E
RGBrgb(81, 58, 78)
HSLhsl(308, 17%, 27%)
HSVhsv(308, 28%, 32%)
CMYKcmyk(0%, 28.4%, 3.7%, 68.2%)
CIE-LABlab(27.64, 14.03, -8.18)
CIE-LCHlch(27.64, 16.24, 329.76°)
OKLaboklab(38.17% 0.0395 -0.0219)
OKLCHoklch(38.17% 0.045 330.9)
XYZxyz(6.2814, 5.3257, 7.9033)
Luminance0.0533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513A4E #3A513D
analogous
#493A51 #513A4E #513A43
triadic
#513A4E #4E513A #3A4E51
tetradic
#513A4E #51493A #3A513D #3A4351
square
#513A4E #51493A #3A513D #3A4351
split-complementary
#513A4E #43513A #3A5149
monochromatic
#120D11 #2D202C #513A4E #755470 #976E92

Accessibility & contrast

On white

10.17
#513A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#513A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513A4E
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513A4E#FFFFFF#000000##FFFFFF
##513A4E1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393F4F
Deuteranopia (green-blind)
#3F424D
Tritanopia (blue-blind)
#533B41
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #513a4e;
/* rgb */ color: rgb(81, 58, 78);
/* oklch */ color: oklch(38.2% 0.045 330.9);
Tailwind
colors: {
  custom: {
    50: '#82707f',
    500: '#513a4e',
    950: '#000000',
  },
}
SCSS
$custom: #513a4e;
$custom-light: #82707f;
$custom-dark: #000000;
JSON
{
  "hex": "#513a4e",
  "rgb": {
    "r": 81,
    "g": 58,
    "b": 78
  },
  "hsl": {
    "h": 307.826,
    "s": 16.547,
    "l": 27.255
  },
  "oklch": {
    "l": 0.38172,
    "c": 0.04518,
    "h": 330.9
  },
  "luminance": 0.05326
}

Semantic roles & 50–950 ramp

primary
#513A4E
secondary
#66816A
accent
#B9786F
background
#F7F6F7
surface
#EEECEE
border
#C9C7C9
text
#0A070A
muted
#7C7A7C

Preview Lab

Preview with #513A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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