#50185F#50185F

#50185F is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.3% C 0.127 H 318.3°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#50185F
RGBrgb(80, 24, 95)
HSLhsl(287, 60%, 23%)
HSVhsv(287, 75%, 37%)
CMYKcmyk(15.8%, 74.7%, 0%, 62.7%)
CIE-LABlab(20.77, 37.22, -30.14)
CIE-LCHlch(20.77, 47.89, 321.00°)
OKLaboklab(33.33% 0.0949 -0.0845)
OKLCHoklch(33.33% 0.127 318.3)
XYZxyz(5.7002, 3.1852, 11.1388)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50185F #275F18
analogous
#2C185F #50185F #5F184A
triadic
#50185F #5F5018 #185F50
tetradic
#50185F #5F2C18 #275F18 #184A5F
square
#50185F #5F2C18 #275F18 #184A5F
split-complementary
#50185F #4A5F18 #185F2C
monochromatic
#150618 #270C2E #50185F #792490 #A231C1

Accessibility & contrast

On white

12.83
#50185F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#50185F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50185F
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50185F#FFFFFF#000000##FFFFFF
##50185F1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#1B345D
Tritanopia (blue-blind)
#502639
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #50185f;
/* rgb */ color: rgb(80, 24, 95);
/* oklch */ color: oklch(33.3% 0.127 318.3);
Tailwind
colors: {
  custom: {
    50: '#845b8d',
    500: '#50185f',
    950: '#000000',
  },
}
SCSS
$custom: #50185f;
$custom-light: #845b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#50185f",
  "rgb": {
    "r": 80,
    "g": 24,
    "b": 95
  },
  "hsl": {
    "h": 287.324,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33329,
    "c": 0.12708,
    "h": 318.3
  },
  "luminance": 0.03185
}

Semantic roles & 50–950 ramp

primary
#50185F
secondary
#50953D
accent
#E34566
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50185F

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

Preview Lab → · Contrast checker → · Palette generator →

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