#500C51#500C51

#500C51 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.2% C 0.128 H 327.5°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#500C51
RGBrgb(80, 12, 81)
HSLhsl(299, 74%, 18%)
HSVhsv(299, 85%, 32%)
CMYKcmyk(1.2%, 85.2%, 0%, 68.2%)
CIE-LABlab(18.20, 38.99, -24.86)
CIE-LCHlch(18.20, 46.24, 327.47°)
OKLaboklab(31.19% 0.1083 -0.069)
OKLCHoklch(31.19% 0.128 327.5)
XYZxyz(4.9249, 2.5629, 8.0183)
Luminance0.0256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#500C51 #0D510C
analogous
#2D0C51 #500C51 #510C2F
triadic
#500C51 #51500C #0C5150
tetradic
#500C51 #512D0C #0D510C #0C2F51
square
#500C51 #512D0C #0D510C #0C2F51
split-complementary
#500C51 #2F510C #0C512D
monochromatic
#1A041B #1B041C #500C51 #851486 #B91CBC

Accessibility & contrast

On white

13.89
#500C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#500C51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #500C51
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##500C51#FFFFFF#000000##FFFFFF
##500C511.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002753
Deuteranopia (green-blind)
#1F2F4F
Tritanopia (blue-blind)
#53182F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #500c51;
/* rgb */ color: rgb(80, 12, 81);
/* oklch */ color: oklch(31.2% 0.128 327.5);
Tailwind
colors: {
  custom: {
    50: '#845582',
    500: '#500c51',
    950: '#000000',
  },
}
SCSS
$custom: #500c51;
$custom-light: #845582;
$custom-dark: #000000;
JSON
{
  "hex": "#500c51",
  "rgb": {
    "r": 80,
    "g": 12,
    "b": 81
  },
  "hsl": {
    "h": 299.13,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.3119,
    "c": 0.12842,
    "h": 327.5
  },
  "luminance": 0.02562
}

Semantic roles & 50–950 ramp

primary
#500C51
secondary
#2E8C2C
accent
#F1373A
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #500C51

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

Preview Lab → · Contrast checker → · Palette generator →

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