#501952#501952

#501952 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.6% C 0.113 H 326.3°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#501952
RGBrgb(80, 25, 82)
HSLhsl(298, 53%, 21%)
HSVhsv(298, 70%, 32%)
CMYKcmyk(2.4%, 69.5%, 0%, 67.8%)
CIE-LABlab(20.09, 34.02, -22.55)
CIE-LCHlch(20.09, 40.81, 326.46°)
OKLaboklab(32.56% 0.0938 -0.0624)
OKLCHoklch(32.56% 0.113 326.3)
XYZxyz(5.1788, 3.0103, 8.2893)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501952 #1B5219
analogous
#331952 #501952 #521937
triadic
#501952 #525019 #195250
tetradic
#501952 #523319 #1B5219 #193752
square
#501952 #523319 #1B5219 #193752
split-complementary
#501952 #375219 #195233
monochromatic
#170717 #220B23 #501952 #7E2781 #AC36B0

Accessibility & contrast

On white

13.11
#501952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#501952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501952
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501952#FFFFFF#000000##FFFFFF
##5019521.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102C54
Deuteranopia (green-blind)
#253350
Tritanopia (blue-blind)
#522133
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #501952;
/* rgb */ color: rgb(80, 25, 82);
/* oklch */ color: oklch(32.6% 0.113 326.3);
Tailwind
colors: {
  custom: {
    50: '#835b83',
    500: '#501952',
    950: '#000000',
  },
}
SCSS
$custom: #501952;
$custom-light: #835b83;
$custom-dark: #000000;
JSON
{
  "hex": "#501952",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 82
  },
  "hsl": {
    "h": 297.895,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32562,
    "c": 0.11266,
    "h": 326.3
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

primary
#501952
secondary
#41883E
accent
#DD4B50
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #501952

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

Preview Lab → · Contrast checker → · Palette generator →

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