#50185B#50185B

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

Color values

HEX#50185B
RGBrgb(80, 24, 91)
HSLhsl(290, 58%, 23%)
HSVhsv(290, 74%, 36%)
CMYKcmyk(12.1%, 73.6%, 0%, 64.3%)
CIE-LABlab(20.50, 36.35, -27.93)
CIE-LCHlch(20.50, 45.84, 322.47°)
OKLaboklab(33.04% 0.0951 -0.0781)
OKLCHoklch(33.04% 0.123 320.6)
XYZxyz(5.5230, 3.1144, 10.2057)
Luminance0.0311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50185B #235B18
analogous
#2E185B #50185B #5B1845
triadic
#50185B #5B5018 #185B50
tetradic
#50185B #5B2E18 #235B18 #18455B
square
#50185B #5B2E18 #235B18 #18455B
split-complementary
#50185B #455B18 #185B2E
monochromatic
#150618 #250B2B #50185B #7B258B #A532BC

Accessibility & contrast

On white

12.94
#50185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50185B
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50185B#FFFFFF#000000##FFFFFF
##50185B1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012D5D
Deuteranopia (green-blind)
#1F3359
Tritanopia (blue-blind)
#512437
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #50185b;
/* rgb */ color: rgb(80, 24, 91);
/* oklch */ color: oklch(33.0% 0.123 320.6);
Tailwind
colors: {
  custom: {
    50: '#845a8a',
    500: '#50185b',
    950: '#000000',
  },
}
SCSS
$custom: #50185b;
$custom-light: #845a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#50185b",
  "rgb": {
    "r": 80,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 290.149,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33044,
    "c": 0.12305,
    "h": 320.6
  },
  "luminance": 0.03114
}

Semantic roles & 50–950 ramp

primary
#50185B
secondary
#4B923D
accent
#E14660
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #50185B

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

Preview Lab → · Contrast checker → · Palette generator →

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