#50185C#50185C

#50185C is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.124 H 320.0°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#50185C
RGBrgb(80, 24, 92)
HSLhsl(289, 59%, 23%)
HSVhsv(289, 74%, 36%)
CMYKcmyk(13%, 73.9%, 0%, 63.9%)
CIE-LABlab(20.56, 36.57, -28.48)
CIE-LCHlch(20.56, 46.35, 322.08°)
OKLaboklab(33.12% 0.0951 -0.0797)
OKLCHoklch(33.12% 0.124 320)
XYZxyz(5.5664, 3.1317, 10.4344)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50185C #245C18
analogous
#2E185C #50185C #5C1846
triadic
#50185C #5C5018 #185C50
tetradic
#50185C #5C2E18 #245C18 #18465C
square
#50185C #5C2E18 #245C18 #18465C
split-complementary
#50185C #465C18 #185C2E
monochromatic
#150618 #260B2B #50185C #7A258D #A431BD

Accessibility & contrast

On white

12.91
#50185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50185C
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50185C#FFFFFF#000000##FFFFFF
##50185C1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5E
Deuteranopia (green-blind)
#1E335A
Tritanopia (blue-blind)
#502438
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #50185c;
/* rgb */ color: rgb(80, 24, 92);
/* oklch */ color: oklch(33.1% 0.124 320.0);
Tailwind
colors: {
  custom: {
    50: '#845a8a',
    500: '#50185c',
    950: '#000000',
  },
}
SCSS
$custom: #50185c;
$custom-light: #845a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#50185c",
  "rgb": {
    "r": 80,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 289.412,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33115,
    "c": 0.12405,
    "h": 320
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#50185C
secondary
#4C933D
accent
#E24661
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50185C

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

Preview Lab → · Contrast checker → · Palette generator →

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