#50165C#50165C

#50165C is a dark, vivid purple. Relative luminance 0.031; OKLCH L 32.9% C 0.127 H 320.2°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#50165C
RGBrgb(80, 22, 92)
HSLhsl(290, 61%, 22%)
HSVhsv(290, 76%, 36%)
CMYKcmyk(13%, 76.1%, 0%, 63.9%)
CIE-LABlab(20.25, 37.45, -28.98)
CIE-LCHlch(20.25, 47.35, 322.26°)
OKLaboklab(32.89% 0.0974 -0.0811)
OKLCHoklch(32.89% 0.127 320.2)
XYZxyz(5.5267, 3.0523, 10.4212)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50165C #225C16
analogous
#2D165C #50165C #5C1645
triadic
#50165C #5C5016 #165C50
tetradic
#50165C #5C2D16 #225C16 #16455C
square
#50165C #5C2D16 #225C16 #16455C
split-complementary
#50165C #455C16 #165C2D
monochromatic
#150619 #250A2B #50165C #7B228D #A62EBF

Accessibility & contrast

On white

13.04
#50165C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50165C
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50165C#FFFFFF#000000##FFFFFF
##50165C1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5E
Deuteranopia (green-blind)
#1D335A
Tritanopia (blue-blind)
#502337
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #50165c;
/* rgb */ color: rgb(80, 22, 92);
/* oklch */ color: oklch(32.9% 0.127 320.2);
Tailwind
colors: {
  custom: {
    50: '#84598a',
    500: '#50165c',
    950: '#000000',
  },
}
SCSS
$custom: #50165c;
$custom-light: #84598a;
$custom-dark: #000000;
JSON
{
  "hex": "#50165c",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 92
  },
  "hsl": {
    "h": 289.714,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32892,
    "c": 0.12678,
    "h": 320.2
  },
  "luminance": 0.03052
}

Semantic roles & 50–950 ramp

primary
#50165C
secondary
#4A933B
accent
#E5435F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50165C

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

Preview Lab → · Contrast checker → · Palette generator →

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