#50165D#50165D

#50165D is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.0% C 0.128 H 319.6°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#50165D
RGBrgb(80, 22, 93)
HSLhsl(289, 62%, 23%)
HSVhsv(289, 76%, 36%)
CMYKcmyk(14%, 76.3%, 0%, 63.5%)
CIE-LABlab(20.32, 37.66, -29.53)
CIE-LCHlch(20.32, 47.86, 321.90°)
OKLaboklab(32.96% 0.0973 -0.0828)
OKLCHoklch(32.96% 0.128 319.6)
XYZxyz(5.5707, 3.0699, 10.6529)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50165D #235D16
analogous
#2C165D #50165D #5D1647
triadic
#50165D #5D5016 #165D50
tetradic
#50165D #5D2C16 #235D16 #16475D
square
#50165D #5D2C16 #235D16 #16475D
split-complementary
#50165D #475D16 #165D2C
monochromatic
#150619 #250A2C #50165D #7B228E #A52DC0

Accessibility & contrast

On white

13.01
#50165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#50165D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50165D
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50165D#FFFFFF#000000##FFFFFF
##50165D1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5F
Deuteranopia (green-blind)
#1C335B
Tritanopia (blue-blind)
#502438
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #50165d;
/* rgb */ color: rgb(80, 22, 93);
/* oklch */ color: oklch(33.0% 0.128 319.6);
Tailwind
colors: {
  custom: {
    50: '#845a8b',
    500: '#50165d',
    950: '#000000',
  },
}
SCSS
$custom: #50165d;
$custom-light: #845a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#50165d",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 289.014,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32963,
    "c": 0.12777,
    "h": 319.6
  },
  "luminance": 0.0307
}

Semantic roles & 50–950 ramp

primary
#50165D
secondary
#4B943B
accent
#E54361
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50165D

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

Preview Lab → · Contrast checker → · Palette generator →

#50165D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva