#50165F#50165F

#50165F is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.130 H 318.5°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#50165F
RGBrgb(80, 22, 95)
HSLhsl(288, 62%, 23%)
HSVhsv(288, 77%, 37%)
CMYKcmyk(15.8%, 76.8%, 0%, 62.7%)
CIE-LABlab(20.46, 38.09, -30.63)
CIE-LCHlch(20.46, 48.88, 321.19°)
OKLaboklab(33.11% 0.0972 -0.086)
OKLCHoklch(33.11% 0.13 318.5)
XYZxyz(5.6605, 3.1058, 11.1256)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50165F #255F16
analogous
#2B165F #50165F #5F1649
triadic
#50165F #5F5016 #165F50
tetradic
#50165F #5F2B16 #255F16 #16495F
square
#50165F #5F2B16 #255F16 #16495F
split-complementary
#50165F #495F16 #165F2B
monochromatic
#150619 #260A2D #50165F #7A2291 #A42DC2

Accessibility & contrast

On white

12.95
#50165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#50165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50165F
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50165F#FFFFFF#000000##FFFFFF
##50165F1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#1A335D
Tritanopia (blue-blind)
#502539
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #50165f;
/* rgb */ color: rgb(80, 22, 95);
/* oklch */ color: oklch(33.1% 0.130 318.5);
Tailwind
colors: {
  custom: {
    50: '#845a8d',
    500: '#50165f',
    950: '#000000',
  },
}
SCSS
$custom: #50165f;
$custom-light: #845a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#50165f",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 287.671,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33109,
    "c": 0.12974,
    "h": 318.5
  },
  "luminance": 0.03106
}

Semantic roles & 50–950 ramp

primary
#50165F
secondary
#4E963B
accent
#E54264
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50165F

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

Preview Lab → · Contrast checker → · Palette generator →

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