#50165A#50165A

#50165A is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.125 H 321.4°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#50165A
RGBrgb(80, 22, 90)
HSLhsl(291, 61%, 22%)
HSVhsv(291, 76%, 35%)
CMYKcmyk(11.1%, 75.6%, 0%, 64.7%)
CIE-LABlab(20.11, 37.03, -27.87)
CIE-LCHlch(20.11, 46.34, 323.03°)
OKLaboklab(32.75% 0.0975 -0.0779)
OKLCHoklch(32.75% 0.125 321.4)
XYZxyz(5.4404, 3.0178, 9.9668)
Luminance0.0302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50165A #205A16
analogous
#2E165A #50165A #5A1642
triadic
#50165A #5A5016 #165A50
tetradic
#50165A #5A2E16 #205A16 #16425A
square
#50165A #5A2E16 #205A16 #16425A
split-complementary
#50165A #425A16 #165A2E
monochromatic
#160619 #240A29 #50165A #7C228B #A72EBC

Accessibility & contrast

On white

13.10
#50165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#50165A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50165A
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50165A#FFFFFF#000000##FFFFFF
##50165A1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5C
Deuteranopia (green-blind)
#1E3358
Tritanopia (blue-blind)
#512236
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #50165a;
/* rgb */ color: rgb(80, 22, 90);
/* oklch */ color: oklch(32.8% 0.125 321.4);
Tailwind
colors: {
  custom: {
    50: '#845989',
    500: '#50165a',
    950: '#000000',
  },
}
SCSS
$custom: #50165a;
$custom-light: #845989;
$custom-dark: #000000;
JSON
{
  "hex": "#50165a",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 291.176,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3275,
    "c": 0.12481,
    "h": 321.4
  },
  "luminance": 0.03017
}

Semantic roles & 50–950 ramp

primary
#50165A
secondary
#47913B
accent
#E4445B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #50165A

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

Preview Lab → · Contrast checker → · Palette generator →

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