#500F62#500F62

#500F62 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.7% C 0.141 H 317.5°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#500F62
RGBrgb(80, 15, 98)
HSLhsl(287, 73%, 22%)
HSVhsv(287, 85%, 38%)
CMYKcmyk(18.4%, 84.7%, 0%, 61.6%)
CIE-LABlab(19.76, 41.39, -33.75)
CIE-LCHlch(19.76, 53.41, 320.80°)
OKLaboklab(32.68% 0.1036 -0.0951)
OKLCHoklch(32.68% 0.141 317.5)
XYZxyz(5.6834, 2.9292, 11.8189)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#500F62 #21620F
analogous
#270F62 #500F62 #620F4B
triadic
#500F62 #62500F #0F6250
tetradic
#500F62 #62270F #21620F #0F4B62
square
#500F62 #62270F #21620F #0F4B62
split-complementary
#500F62 #4B620F #0F6227
monochromatic
#16041B #25072D #500F62 #7B1797 #A71FCC

Accessibility & contrast

On white

13.24
#500F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#500F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #500F62
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##500F62#FFFFFF#000000##FFFFFF
##500F621.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C64
Deuteranopia (green-blind)
#113260
Tritanopia (blue-blind)
#4F2239
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #500f62;
/* rgb */ color: rgb(80, 15, 98);
/* oklch */ color: oklch(32.7% 0.141 317.5);
Tailwind
colors: {
  custom: {
    50: '#84578f',
    500: '#500f62',
    950: '#000000',
  },
}
SCSS
$custom: #500f62;
$custom-light: #84578f;
$custom-dark: #000000;
JSON
{
  "hex": "#500f62",
  "rgb": {
    "r": 80,
    "g": 15,
    "b": 98
  },
  "hsl": {
    "h": 286.988,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32681,
    "c": 0.14064,
    "h": 317.5
  },
  "luminance": 0.02929
}

Semantic roles & 50–950 ramp

primary
#500F62
secondary
#499B32
accent
#F03860
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #500F62

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

Preview Lab → · Contrast checker → · Palette generator →

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