#500C4E#500C4E

#500C4E is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.0% C 0.126 H 329.4°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#500C4E
RGBrgb(80, 12, 78)
HSLhsl(302, 74%, 18%)
HSVhsv(302, 85%, 31%)
CMYKcmyk(0%, 85%, 2.5%, 68.6%)
CIE-LABlab(18.00, 38.44, -23.13)
CIE-LCHlch(18.00, 44.86, 328.96°)
OKLaboklab(30.99% 0.1084 -0.064)
OKLCHoklch(30.99% 0.126 329.4)
XYZxyz(4.8149, 2.5189, 7.4388)
Luminance0.0252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#500C4E #0C500E
analogous
#300C50 #500C4E #500C2C
triadic
#500C4E #4E500C #0C4E50
tetradic
#500C4E #50300C #0C500E #0C2C50
square
#500C4E #50300C #0C500E #0C2C50
split-complementary
#500C4E #2C500C #0C5030
monochromatic
#1B041A #1B041A #500C4E #851482 #BA1CB6

Accessibility & contrast

On white

13.97
#500C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#500C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #500C4E
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##500C4E#FFFFFF#000000##FFFFFF
##500C4E1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022650
Deuteranopia (green-blind)
#212F4C
Tritanopia (blue-blind)
#53172D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #500c4e;
/* rgb */ color: rgb(80, 12, 78);
/* oklch */ color: oklch(31.0% 0.126 329.4);
Tailwind
colors: {
  custom: {
    50: '#845580',
    500: '#500c4e',
    950: '#000000',
  },
}
SCSS
$custom: #500c4e;
$custom-light: #845580;
$custom-dark: #000000;
JSON
{
  "hex": "#500c4e",
  "rgb": {
    "r": 80,
    "g": 12,
    "b": 78
  },
  "hsl": {
    "h": 301.765,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30986,
    "c": 0.12588,
    "h": 329.4
  },
  "luminance": 0.02518
}

Semantic roles & 50–950 ramp

primary
#500C4E
secondary
#2C8B2F
accent
#F13D37
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #500C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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