#50185A#50185A

#50185A is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.0% C 0.122 H 321.2°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#50185A
RGBrgb(80, 24, 90)
HSLhsl(291, 58%, 22%)
HSVhsv(291, 73%, 35%)
CMYKcmyk(11.1%, 73.3%, 0%, 64.7%)
CIE-LABlab(20.43, 36.14, -27.37)
CIE-LCHlch(20.43, 45.33, 322.87°)
OKLaboklab(32.98% 0.0951 -0.0764)
OKLCHoklch(32.98% 0.122 321.2)
XYZxyz(5.4802, 3.0972, 9.9800)
Luminance0.0310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50185A #225A18
analogous
#2F185A #50185A #5A1843
triadic
#50185A #5A5018 #185A50
tetradic
#50185A #5A2F18 #225A18 #18435A
square
#50185A #5A2F18 #225A18 #18435A
split-complementary
#50185A #435A18 #185A2F
monochromatic
#150618 #250B2A #50185A #7B258A #A632BB

Accessibility & contrast

On white

12.97
#50185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#50185A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50185A
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50185A#FFFFFF#000000##FFFFFF
##50185A1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032D5C
Deuteranopia (green-blind)
#1F3358
Tritanopia (blue-blind)
#512437
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #50185a;
/* rgb */ color: rgb(80, 24, 90);
/* oklch */ color: oklch(33.0% 0.122 321.2);
Tailwind
colors: {
  custom: {
    50: '#845a89',
    500: '#50185a',
    950: '#000000',
  },
}
SCSS
$custom: #50185a;
$custom-light: #845a89;
$custom-dark: #000000;
JSON
{
  "hex": "#50185a",
  "rgb": {
    "r": 80,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 290.909,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32975,
    "c": 0.12204,
    "h": 321.2
  },
  "luminance": 0.03097
}

Semantic roles & 50–950 ramp

primary
#50185A
secondary
#4A913D
accent
#E1475E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #50185A

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

Preview Lab → · Contrast checker → · Palette generator →

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