#500C46#500C46

#500C46 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.5% C 0.119 H 335.0°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#500C46
RGBrgb(80, 12, 70)
HSLhsl(309, 74%, 18%)
HSVhsv(309, 85%, 31%)
CMYKcmyk(0%, 85%, 12.5%, 68.6%)
CIE-LABlab(17.51, 37.04, -18.41)
CIE-LCHlch(17.51, 41.36, 333.57°)
OKLaboklab(30.48% 0.1082 -0.0504)
OKLCHoklch(30.48% 0.119 335)
XYZxyz(4.5453, 2.4110, 6.0192)
Luminance0.0241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#500C46 #0C5016
analogous
#380C50 #500C46 #500C24
triadic
#500C46 #46500C #0C4650
tetradic
#500C46 #50380C #0C5016 #0C2450
square
#500C46 #50380C #0C5016 #0C2450
split-complementary
#500C46 #24500C #0C5038
monochromatic
#1B0417 #1B0417 #500C46 #851475 #BA1CA3

Accessibility & contrast

On white

14.17
#500C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#500C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #500C46
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##500C46#FFFFFF#000000##FFFFFF
##500C461.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2548
Deuteranopia (green-blind)
#252E44
Tritanopia (blue-blind)
#541228
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #500c46;
/* rgb */ color: rgb(80, 12, 70);
/* oklch */ color: oklch(30.5% 0.119 335.0);
Tailwind
colors: {
  custom: {
    50: '#845479',
    500: '#500c46',
    950: '#000000',
  },
}
SCSS
$custom: #500c46;
$custom-light: #845479;
$custom-dark: #000000;
JSON
{
  "hex": "#500c46",
  "rgb": {
    "r": 80,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 308.824,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30475,
    "c": 0.11933,
    "h": 335
  },
  "luminance": 0.02411
}

Semantic roles & 50–950 ramp

primary
#500C46
secondary
#2C8B3A
accent
#F15237
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #500C46

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

Preview Lab → · Contrast checker → · Palette generator →

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