#513B4E#513B4E

#513B4E is a dark, muted purple. Relative luminance 0.054; OKLCH L 38.4% C 0.043 H 331.1°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#513B4E
RGBrgb(81, 59, 78)
HSLhsl(308, 16%, 27%)
HSVhsv(308, 27%, 32%)
CMYKcmyk(0%, 27.2%, 3.7%, 68.2%)
CIE-LABlab(27.92, 13.39, -7.76)
CIE-LCHlch(27.92, 15.48, 329.89°)
OKLaboklab(38.38% 0.0377 -0.0208)
OKLCHoklch(38.38% 0.043 331.1)
XYZxyz(6.3323, 5.4275, 7.9203)
Luminance0.0543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513B4E #3B513E
analogous
#493B51 #513B4E #513B43
triadic
#513B4E #4E513B #3B4E51
tetradic
#513B4E #51493B #3B513E #3B4351
square
#513B4E #51493B #3B513E #3B4351
split-complementary
#513B4E #43513B #3B5149
monochromatic
#120D11 #2E212C #513B4E #745570 #977091

Accessibility & contrast

On white

10.07
#513B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#513B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513B4E
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513B4E#FFFFFF#000000##FFFFFF
##513B4E1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A404F
Deuteranopia (green-blind)
#40434D
Tritanopia (blue-blind)
#533C42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #513b4e;
/* rgb */ color: rgb(81, 59, 78);
/* oklch */ color: oklch(38.4% 0.043 331.1);
Tailwind
colors: {
  custom: {
    50: '#82717f',
    500: '#513b4e',
    950: '#000000',
  },
}
SCSS
$custom: #513b4e;
$custom-light: #82717f;
$custom-dark: #000000;
JSON
{
  "hex": "#513b4e",
  "rgb": {
    "r": 81,
    "g": 59,
    "b": 78
  },
  "hsl": {
    "h": 308.182,
    "s": 15.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38384,
    "c": 0.04304,
    "h": 331.1
  },
  "luminance": 0.05427
}

Semantic roles & 50–950 ramp

primary
#513B4E
secondary
#67816B
accent
#B8796F
background
#F7F6F7
surface
#EEECEE
border
#C9C7C9
text
#0A070A
muted
#7C7A7C

Preview Lab

Preview with #513B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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