#500F51#500F51

#500F51 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.125 H 327.4°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#500F51
RGBrgb(80, 15, 81)
HSLhsl(299, 69%, 19%)
HSVhsv(299, 81%, 32%)
CMYKcmyk(1.2%, 81.5%, 0%, 68.2%)
CIE-LABlab(18.55, 37.99, -24.31)
CIE-LCHlch(18.55, 45.10, 327.38°)
OKLaboklab(31.44% 0.1055 -0.0675)
OKLCHoklch(31.44% 0.125 327.4)
XYZxyz(4.9642, 2.6416, 8.0314)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#500F51 #10510F
analogous
#2F0F51 #500F51 #510F31
triadic
#500F51 #51500F #0F5150
tetradic
#500F51 #512F0F #10510F #0F3151
square
#500F51 #512F0F #10510F #0F3151
split-complementary
#500F51 #31510F #0F512F
monochromatic
#1A051A #1D051D #500F51 #831985 #B622B8

Accessibility & contrast

On white

13.74
#500F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#500F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #500F51
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##500F51#FFFFFF#000000##FFFFFF
##500F511.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012853
Deuteranopia (green-blind)
#20304F
Tritanopia (blue-blind)
#531A2F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #500f51;
/* rgb */ color: rgb(80, 15, 81);
/* oklch */ color: oklch(31.4% 0.125 327.4);
Tailwind
colors: {
  custom: {
    50: '#845682',
    500: '#500f51',
    950: '#000000',
  },
}
SCSS
$custom: #500f51;
$custom-light: #845682;
$custom-dark: #000000;
JSON
{
  "hex": "#500f51",
  "rgb": {
    "r": 80,
    "g": 15,
    "b": 81
  },
  "hsl": {
    "h": 299.091,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31437,
    "c": 0.1252,
    "h": 327.4
  },
  "luminance": 0.02641
}

Semantic roles & 50–950 ramp

primary
#500F51
secondary
#328B31
accent
#EC3C3F
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #500F51

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

Preview Lab → · Contrast checker → · Palette generator →

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