#500E71#500E71

#500E71 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.8% C 0.156 H 310.4°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#500E71
RGBrgb(80, 14, 113)
HSLhsl(280, 78%, 25%)
HSVhsv(280, 88%, 44%)
CMYKcmyk(29.2%, 87.6%, 0%, 55.7%)
CIE-LABlab(20.87, 44.96, -41.74)
CIE-LCHlch(20.87, 61.35, 317.12°)
OKLaboklab(33.85% 0.1008 -0.1185)
OKLCHoklch(33.85% 0.156 310.4)
XYZxyz(6.4453, 3.2120, 15.9000)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#500E71 #2F710E
analogous
#1E0E71 #500E71 #710E61
triadic
#500E71 #71500E #0E7150
tetradic
#500E71 #711E0E #2F710E #0E6171
square
#500E71 #711E0E #2F710E #0E6171
split-complementary
#500E71 #61710E #0E711E
monochromatic
#13031B #29073B #500E71 #7715A7 #9D1BDE

Accessibility & contrast

On white

12.79
#500E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#500E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #500E71
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##500E71#FFFFFF#000000##FFFFFF
##500E711.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#4B2941
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #500e71;
/* rgb */ color: rgb(80, 14, 113);
/* oklch */ color: oklch(33.8% 0.156 310.4);
Tailwind
colors: {
  custom: {
    50: '#86579b',
    500: '#500e71',
    950: '#000000',
  },
}
SCSS
$custom: #500e71;
$custom-light: #86579b;
$custom-dark: #000000;
JSON
{
  "hex": "#500e71",
  "rgb": {
    "r": 80,
    "g": 14,
    "b": 113
  },
  "hsl": {
    "h": 280,
    "s": 77.953,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33845,
    "c": 0.15561,
    "h": 310.4
  },
  "luminance": 0.03212
}

Semantic roles & 50–950 ramp

primary
#500E71
secondary
#5AA932
accent
#F43374
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #500E71

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

Preview Lab → · Contrast checker → · Palette generator →

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