#514151#514151

#514151 is a dark, muted purple. Relative luminance 0.061; OKLCH L 39.8% C 0.034 H 326.2°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#514151
RGBrgb(81, 65, 81)
HSLhsl(300, 11%, 29%)
HSVhsv(300, 20%, 32%)
CMYKcmyk(0%, 19.8%, 0%, 68.2%)
CIE-LABlab(29.72, 10.17, -7.01)
CIE-LCHlch(29.72, 12.35, 325.43°)
OKLaboklab(39.81% 0.028 -0.0188)
OKLCHoklch(39.81% 0.034 326.2)
XYZxyz(6.7687, 6.1241, 8.6085)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514151 #415141
analogous
#494151 #514151 #514149
triadic
#514151 #515141 #415151
tetradic
#514151 #514941 #415141 #414951
square
#514151 #514941 #415141 #414951
split-complementary
#514151 #495141 #415149
monochromatic
#110E11 #2F262F #514151 #735C73 #937993

Accessibility & contrast

On white

9.44
#514151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#514151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514151
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514151#FFFFFF#000000##FFFFFF
##5141511.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404552
Deuteranopia (green-blind)
#434750
Tritanopia (blue-blind)
#524246
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #514151;
/* rgb */ color: rgb(81, 65, 81);
/* oklch */ color: oklch(39.8% 0.034 326.2);
Tailwind
colors: {
  custom: {
    50: '#827581',
    500: '#514151',
    950: '#000000',
  },
}
SCSS
$custom: #514151;
$custom-light: #827581;
$custom-dark: #000000;
JSON
{
  "hex": "#514151",
  "rgb": {
    "r": 81,
    "g": 65,
    "b": 81
  },
  "hsl": {
    "h": 300,
    "s": 10.959,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39809,
    "c": 0.03373,
    "h": 326.2
  },
  "luminance": 0.06124
}

Semantic roles & 50–950 ramp

primary
#514151
secondary
#6E806E
accent
#B47474
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#0A080A
muted
#7C7B7C

Preview Lab

Preview with #514151

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

Preview Lab → · Contrast checker → · Palette generator →

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