#500F58#500F58

#500F58 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.9% C 0.131 H 323.0°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#500F58
RGBrgb(80, 15, 88)
HSLhsl(293, 71%, 20%)
HSVhsv(293, 83%, 35%)
CMYKcmyk(9.1%, 83%, 0%, 65.5%)
CIE-LABlab(19.02, 39.35, -28.28)
CIE-LCHlch(19.02, 48.45, 324.29°)
OKLaboklab(31.93% 0.105 -0.079)
OKLCHoklch(31.93% 0.131 323)
XYZxyz(5.2404, 2.7520, 9.4858)
Luminance0.0275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#500F58 #17580F
analogous
#2C0F58 #500F58 #580F3B
triadic
#500F58 #58500F #0F5850
tetradic
#500F58 #582C0F #17580F #0F3B58
square
#500F58 #582C0F #17580F #0F3B58
split-complementary
#500F58 #3B580F #0F582C
monochromatic
#18041A #200624 #500F58 #80188C #AF21C1

Accessibility & contrast

On white

13.54
#500F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#500F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #500F58
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##500F58#FFFFFF#000000##FFFFFF
##500F581.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295A
Deuteranopia (green-blind)
#1C3156
Tritanopia (blue-blind)
#511D33
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #500f58;
/* rgb */ color: rgb(80, 15, 88);
/* oklch */ color: oklch(31.9% 0.131 323.0);
Tailwind
colors: {
  custom: {
    50: '#845687',
    500: '#500f58',
    950: '#000000',
  },
}
SCSS
$custom: #500f58;
$custom-light: #845687;
$custom-dark: #000000;
JSON
{
  "hex": "#500f58",
  "rgb": {
    "r": 80,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 293.425,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31927,
    "c": 0.13145,
    "h": 323
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#500F58
secondary
#3C9231
accent
#EE3A4E
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #500F58

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

Preview Lab → · Contrast checker → · Palette generator →

#500F58 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva