#503151#503151

#503151 is a dark, moderate purple. Relative luminance 0.045; OKLCH L 36.4% C 0.067 H 325.8°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#503151
RGBrgb(80, 49, 81)
HSLhsl(298, 25%, 25%)
HSVhsv(298, 40%, 32%)
CMYKcmyk(1.2%, 39.5%, 0%, 68.2%)
CIE-LABlab(25.25, 20.08, -13.82)
CIE-LCHlch(25.25, 24.38, 325.47°)
OKLaboklab(36.37% 0.0553 -0.0376)
OKLCHoklch(36.37% 0.067 325.8)
XYZxyz(5.8916, 4.4964, 8.3405)
Luminance0.0450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503151 #325131
analogous
#403151 #503151 #513142
triadic
#503151 #515031 #315150
tetradic
#503151 #514031 #325131 #314251
square
#503151 #514031 #325131 #314251
split-complementary
#503151 #425131 #315140
monochromatic
#130C13 #2A1A2B #503151 #764877 #9B5F9D

Accessibility & contrast

On white

11.06
#503151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#503151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503151
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503151#FFFFFF#000000##FFFFFF
##5031511.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3952
Deuteranopia (green-blind)
#363D50
Tritanopia (blue-blind)
#52343D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #503151;
/* rgb */ color: rgb(80, 49, 81);
/* oklch */ color: oklch(36.4% 0.067 325.8);
Tailwind
colors: {
  custom: {
    50: '#826a82',
    500: '#503151',
    950: '#000000',
  },
}
SCSS
$custom: #503151;
$custom-light: #826a82;
$custom-dark: #000000;
JSON
{
  "hex": "#503151",
  "rgb": {
    "r": 80,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 298.125,
    "s": 24.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36366,
    "c": 0.06688,
    "h": 325.8
  },
  "luminance": 0.04496
}

Semantic roles & 50–950 ramp

primary
#503151
secondary
#5D825C
accent
#C1676A
background
#F8F6F7
surface
#EFEBEE
border
#CAC6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #503151

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

Preview Lab → · Contrast checker → · Palette generator →

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