#513A56#513A56

#513A56 is a dark, muted purple. Relative luminance 0.054; OKLCH L 38.5% C 0.055 H 320.3°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#513A56
RGBrgb(81, 58, 86)
HSLhsl(289, 19%, 28%)
HSVhsv(289, 33%, 34%)
CMYKcmyk(5.8%, 32.6%, 0%, 66.3%)
CIE-LABlab(27.97, 15.83, -12.91)
CIE-LCHlch(27.97, 20.42, 320.79°)
OKLaboklab(38.53% 0.0423 -0.0351)
OKLCHoklch(38.53% 0.055 320.3)
XYZxyz(6.5859, 5.4475, 9.5068)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513A56 #3F563A
analogous
#433A56 #513A56 #563A4D
triadic
#513A56 #56513A #3A5651
tetradic
#513A56 #56433A #3F563A #3A4D56
square
#513A56 #56433A #3F563A #3A4D56
split-complementary
#513A56 #4D563A #3A5643
monochromatic
#110C12 #2F2131 #513A56 #73537B #946E9D

Accessibility & contrast

On white

10.05
#513A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #513A56
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513A56#FFFFFF#000000##FFFFFF
##513A561.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374057
Deuteranopia (green-blind)
#3C4355
Tritanopia (blue-blind)
#523D44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #513a56;
/* rgb */ color: rgb(81, 58, 86);
/* oklch */ color: oklch(38.5% 0.055 320.3);
Tailwind
colors: {
  custom: {
    50: '#827085',
    500: '#513a56',
    950: '#000000',
  },
}
SCSS
$custom: #513a56;
$custom-light: #827085;
$custom-dark: #000000;
JSON
{
  "hex": "#513a56",
  "rgb": {
    "r": 81,
    "g": 58,
    "b": 86
  },
  "hsl": {
    "h": 289.286,
    "s": 19.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38533,
    "c": 0.05497,
    "h": 320.3
  },
  "luminance": 0.05447
}

Semantic roles & 50–950 ramp

primary
#513A56
secondary
#6C8666
accent
#BC6C7A
background
#F8F6F8
surface
#EFECEF
border
#CAC7CA
text
#0A070B
muted
#7C7A7C

Preview Lab

Preview with #513A56

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

Preview Lab → · Contrast checker → · Palette generator →

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