#50185D#50185D

#50185D is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.125 H 319.4°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#50185D
RGBrgb(80, 24, 93)
HSLhsl(289, 59%, 23%)
HSVhsv(289, 74%, 36%)
CMYKcmyk(14%, 74.2%, 0%, 63.5%)
CIE-LABlab(20.63, 36.78, -29.04)
CIE-LCHlch(20.63, 46.86, 321.71°)
OKLaboklab(33.19% 0.095 -0.0813)
OKLCHoklch(33.19% 0.125 319.4)
XYZxyz(5.6104, 3.1493, 10.6662)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50185D #255D18
analogous
#2E185D #50185D #5D1847
triadic
#50185D #5D5018 #185D50
tetradic
#50185D #5D2E18 #255D18 #18475D
square
#50185D #5D2E18 #255D18 #18475D
split-complementary
#50185D #475D18 #185D2E
monochromatic
#150618 #260B2C #50185D #7A258E #A431BE

Accessibility & contrast

On white

12.89
#50185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#50185D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50185D
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50185D#FFFFFF#000000##FFFFFF
##50185D1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#1D345B
Tritanopia (blue-blind)
#502538
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #50185d;
/* rgb */ color: rgb(80, 24, 93);
/* oklch */ color: oklch(33.2% 0.125 319.4);
Tailwind
colors: {
  custom: {
    50: '#845a8b',
    500: '#50185d',
    950: '#000000',
  },
}
SCSS
$custom: #50185d;
$custom-light: #845a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#50185d",
  "rgb": {
    "r": 80,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 288.696,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33186,
    "c": 0.12506,
    "h": 319.4
  },
  "luminance": 0.03149
}

Semantic roles & 50–950 ramp

primary
#50185D
secondary
#4E933D
accent
#E24663
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50185D

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

Preview Lab → · Contrast checker → · Palette generator →

#50185D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva