#502D4E#502D4E

#502D4E is a dark, moderate purple. Relative luminance 0.041; OKLCH L 35.5% C 0.072 H 329.0°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#502D4E
RGBrgb(80, 45, 78)
HSLhsl(303, 28%, 25%)
HSVhsv(303, 44%, 31%)
CMYKcmyk(0%, 43.7%, 2.5%, 68.6%)
CIE-LABlab(24.11, 21.94, -13.59)
CIE-LCHlch(24.11, 25.81, 328.23°)
OKLaboklab(35.46% 0.0615 -0.0369)
OKLCHoklch(35.46% 0.072 329)
XYZxyz(5.6217, 4.1326, 7.7078)
Luminance0.0413 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502D4E #2D502F
analogous
#412D50 #502D4E #502D3D
triadic
#502D4E #4E502D #2D4E50
tetradic
#502D4E #50412D #2D502F #2D3D50
square
#502D4E #50412D #2D502F #2D3D50
split-complementary
#502D4E #3D502D #2D5041
monochromatic
#140B13 #291728 #502D4E #774374 #9E599A

Accessibility & contrast

On white

11.50
#502D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#502D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502D4E
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502D4E#FFFFFF#000000##FFFFFF
##502D4E1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B364F
Deuteranopia (green-blind)
#343B4D
Tritanopia (blue-blind)
#52303A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #502d4e;
/* rgb */ color: rgb(80, 45, 78);
/* oklch */ color: oklch(35.5% 0.072 329.0);
Tailwind
colors: {
  custom: {
    50: '#82677f',
    500: '#502d4e',
    950: '#000000',
  },
}
SCSS
$custom: #502d4e;
$custom-light: #82677f;
$custom-dark: #000000;
JSON
{
  "hex": "#502d4e",
  "rgb": {
    "r": 80,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 303.429,
    "s": 28,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35459,
    "c": 0.07174,
    "h": 329
  },
  "luminance": 0.04132
}

Semantic roles & 50–950 ramp

primary
#502D4E
secondary
#57825A
accent
#C46963
background
#F8F6F7
surface
#EFEBEE
border
#CAC6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #502D4E

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

Preview Lab → · Contrast checker → · Palette generator →

#502D4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva