#513751#513751

#513751 is a dark, muted purple. Relative luminance 0.051; OKLCH L 37.7% C 0.055 H 326.6°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#513751
RGBrgb(81, 55, 81)
HSLhsl(300, 19%, 27%)
HSVhsv(300, 32%, 32%)
CMYKcmyk(0%, 32.1%, 0%, 68.2%)
CIE-LABlab(26.95, 16.63, -11.20)
CIE-LCHlch(26.95, 20.05, 326.03°)
OKLaboklab(37.68% 0.046 -0.0303)
OKLCHoklch(37.68% 0.055 326.6)
XYZxyz(6.2446, 5.0760, 8.4338)
Luminance0.0508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513751 #375137
analogous
#443751 #513751 #513744
triadic
#513751 #515137 #375151
tetradic
#513751 #514437 #375137 #374451
square
#513751 #514437 #375137 #374451
split-complementary
#513751 #445137 #375144
monochromatic
#120C12 #2D1E2D #513751 #755075 #996999

Accessibility & contrast

On white

10.42
#513751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#513751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513751
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513751#FFFFFF#000000##FFFFFF
##5137511.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353E52
Deuteranopia (green-blind)
#3B4150
Tritanopia (blue-blind)
#533940
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #513751;
/* rgb */ color: rgb(81, 55, 81);
/* oklch */ color: oklch(37.7% 0.055 326.6);
Tailwind
colors: {
  custom: {
    50: '#826e82',
    500: '#513751',
    950: '#000000',
  },
}
SCSS
$custom: #513751;
$custom-light: #826e82;
$custom-dark: #000000;
JSON
{
  "hex": "#513751",
  "rgb": {
    "r": 81,
    "g": 55,
    "b": 81
  },
  "hsl": {
    "h": 300,
    "s": 19.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.37683,
    "c": 0.05506,
    "h": 326.6
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#513751
secondary
#638163
accent
#BC6C6C
background
#F8F6F7
surface
#EFECEE
border
#CAC7C9
text
#0A070A
muted
#7C7A7C

Preview Lab

Preview with #513751

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

Preview Lab → · Contrast checker → · Palette generator →

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