#502F4E#502F4E

#502F4E is a dark, moderate purple. Relative luminance 0.043; OKLCH L 35.8% C 0.068 H 329.0°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#502F4E
RGBrgb(80, 47, 78)
HSLhsl(304, 26%, 25%)
HSVhsv(304, 41%, 31%)
CMYKcmyk(0%, 41.3%, 2.5%, 68.6%)
CIE-LABlab(24.60, 20.69, -12.82)
CIE-LCHlch(24.60, 24.34, 328.22°)
OKLaboklab(35.83% 0.058 -0.0348)
OKLCHoklch(35.83% 0.068 329)
XYZxyz(5.6998, 4.2888, 7.7338)
Luminance0.0429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502F4E #2F5031
analogous
#412F50 #502F4E #502F3E
triadic
#502F4E #4E502F #2F4E50
tetradic
#502F4E #50412F #2F5031 #2F3E50
square
#502F4E #50412F #2F5031 #2F3E50
split-complementary
#502F4E #3E502F #2F5041
monochromatic
#130B13 #291828 #502F4E #774674 #9D5C99

Accessibility & contrast

On white

11.30
#502F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#502F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502F4E
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502F4E#FFFFFF#000000##FFFFFF
##502F4E1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D384F
Deuteranopia (green-blind)
#363C4D
Tritanopia (blue-blind)
#52323B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #502f4e;
/* rgb */ color: rgb(80, 47, 78);
/* oklch */ color: oklch(35.8% 0.068 329.0);
Tailwind
colors: {
  custom: {
    50: '#82687f',
    500: '#502f4e',
    950: '#000000',
  },
}
SCSS
$custom: #502f4e;
$custom-light: #82687f;
$custom-dark: #000000;
JSON
{
  "hex": "#502f4e",
  "rgb": {
    "r": 80,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 303.636,
    "s": 25.984,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35834,
    "c": 0.0676,
    "h": 329
  },
  "luminance": 0.04289
}

Semantic roles & 50–950 ramp

primary
#502F4E
secondary
#5A815C
accent
#C26B65
background
#F8F6F7
surface
#EFEBEE
border
#CAC6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #502F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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