#513151#513151

#513151 is a dark, moderate purple. Relative luminance 0.045; OKLCH L 36.5% C 0.068 H 326.9°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#513151
RGBrgb(81, 49, 81)
HSLhsl(300, 25%, 25%)
HSVhsv(300, 40%, 32%)
CMYKcmyk(0%, 39.5%, 0%, 68.2%)
CIE-LABlab(25.38, 20.45, -13.60)
CIE-LCHlch(25.38, 24.56, 326.37°)
OKLaboklab(36.5% 0.0567 -0.037)
OKLCHoklch(36.5% 0.068 326.9)
XYZxyz(5.9767, 4.5403, 8.3445)
Luminance0.0454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513151 #315131
analogous
#413151 #513151 #513141
triadic
#513151 #515131 #315151
tetradic
#513151 #514131 #315131 #314151
square
#513151 #514131 #315131 #314151
split-complementary
#513151 #415131 #315141
monochromatic
#130C13 #2B1A2B #513151 #774877 #9D5F9D

Accessibility & contrast

On white

11.01
#513151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#513151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #513151
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513151#FFFFFF#000000##FFFFFF
##5131511.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3A52
Deuteranopia (green-blind)
#373E50
Tritanopia (blue-blind)
#53343D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #513151;
/* rgb */ color: rgb(81, 49, 81);
/* oklch */ color: oklch(36.5% 0.068 326.9);
Tailwind
colors: {
  custom: {
    50: '#826a82',
    500: '#513151',
    950: '#000000',
  },
}
SCSS
$custom: #513151;
$custom-light: #826a82;
$custom-dark: #000000;
JSON
{
  "hex": "#513151",
  "rgb": {
    "r": 81,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 300,
    "s": 24.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36496,
    "c": 0.06766,
    "h": 326.9
  },
  "luminance": 0.0454
}

Semantic roles & 50–950 ramp

primary
#513151
secondary
#5C825C
accent
#C16767
background
#F8F6F7
surface
#EFEBEE
border
#CAC6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #513151

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

Preview Lab → · Contrast checker → · Palette generator →

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