#501048#501048

#501048 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.9% C 0.116 H 333.6°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#501048
RGBrgb(80, 16, 72)
HSLhsl(308, 67%, 19%)
HSVhsv(308, 80%, 31%)
CMYKcmyk(0%, 80%, 10%, 68.6%)
CIE-LABlab(18.12, 35.98, -18.84)
CIE-LCHlch(18.12, 40.62, 332.37°)
OKLaboklab(30.95% 0.1042 -0.0516)
OKLCHoklch(30.95% 0.116 333.6)
XYZxyz(4.6633, 2.5443, 6.3751)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501048 #105018
analogous
#381050 #501048 #501028
triadic
#501048 #485010 #104850
tetradic
#501048 #503810 #105018 #102850
square
#501048 #503810 #105018 #102850
split-complementary
#501048 #285010 #105038
monochromatic
#1A0517 #1D061A #501048 #831A76 #B624A4

Accessibility & contrast

On white

13.92
#501048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#501048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501048
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501048#FFFFFF#000000##FFFFFF
##5010481.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E264A
Deuteranopia (green-blind)
#263046
Tritanopia (blue-blind)
#54162B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #501048;
/* rgb */ color: rgb(80, 16, 72);
/* oklch */ color: oklch(30.9% 0.116 333.6);
Tailwind
colors: {
  custom: {
    50: '#84567b',
    500: '#501048',
    950: '#000000',
  },
}
SCSS
$custom: #501048;
$custom-light: #84567b;
$custom-dark: #000000;
JSON
{
  "hex": "#501048",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 307.5,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30949,
    "c": 0.11629,
    "h": 333.6
  },
  "luminance": 0.02544
}

Semantic roles & 50–950 ramp

primary
#501048
secondary
#328A3D
accent
#EA543E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #501048

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

Preview Lab → · Contrast checker → · Palette generator →

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