#50175B#50175B

#50175B is a dark, vivid purple. Relative luminance 0.031; OKLCH L 32.9% C 0.124 H 320.7°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#50175B
RGBrgb(80, 23, 91)
HSLhsl(290, 60%, 22%)
HSVhsv(290, 75%, 36%)
CMYKcmyk(12.1%, 74.7%, 0%, 64.3%)
CIE-LABlab(20.34, 36.80, -28.18)
CIE-LCHlch(20.34, 46.35, 322.56°)
OKLaboklab(32.93% 0.0963 -0.0788)
OKLCHoklch(32.93% 0.124 320.7)
XYZxyz(5.5028, 3.0739, 10.1990)
Luminance0.0307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50175B #225B17
analogous
#2E175B #50175B #5B1744
triadic
#50175B #5B5017 #175B50
tetradic
#50175B #5B2E17 #225B17 #17445B
square
#50175B #5B2E17 #225B17 #17445B
split-complementary
#50175B #445B17 #175B2E
monochromatic
#150618 #250B2A #50175B #7B238C #A630BD

Accessibility & contrast

On white

13.00
#50175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#50175B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50175B
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50175B#FFFFFF#000000##FFFFFF
##50175B1.0013.001.6113.00
#FFFFFF13.001.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5D
Deuteranopia (green-blind)
#1E3359
Tritanopia (blue-blind)
#512337
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #50175b;
/* rgb */ color: rgb(80, 23, 91);
/* oklch */ color: oklch(32.9% 0.124 320.7);
Tailwind
colors: {
  custom: {
    50: '#845a8a',
    500: '#50175b',
    950: '#000000',
  },
}
SCSS
$custom: #50175b;
$custom-light: #845a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#50175b",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 290.294,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32931,
    "c": 0.12444,
    "h": 320.7
  },
  "luminance": 0.03074
}

Semantic roles & 50–950 ramp

primary
#50175B
secondary
#4A923C
accent
#E3455F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #50175B

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

Preview Lab → · Contrast checker → · Palette generator →

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