#50155B#50155B

#50155B is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.7% C 0.127 H 320.9°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#50155B
RGBrgb(80, 21, 91)
HSLhsl(291, 63%, 22%)
HSVhsv(291, 77%, 36%)
CMYKcmyk(12.1%, 76.9%, 0%, 64.3%)
CIE-LABlab(20.03, 37.66, -28.67)
CIE-LCHlch(20.03, 47.33, 322.72°)
OKLaboklab(32.71% 0.0986 -0.0802)
OKLCHoklch(32.71% 0.127 320.9)
XYZxyz(5.4645, 2.9974, 10.1862)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50155B #205B15
analogous
#2D155B #50155B #5B1543
triadic
#50155B #5B5015 #155B50
tetradic
#50155B #5B2D15 #205B15 #15435B
square
#50155B #5B2D15 #205B15 #15435B
split-complementary
#50155B #435B15 #155B2D
monochromatic
#160619 #240A29 #50155B #7C208D #A72CBE

Accessibility & contrast

On white

13.13
#50155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#50155B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50155B
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50155B#FFFFFF#000000##FFFFFF
##50155B1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5D
Deuteranopia (green-blind)
#1D3259
Tritanopia (blue-blind)
#512236
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #50155b;
/* rgb */ color: rgb(80, 21, 91);
/* oklch */ color: oklch(32.7% 0.127 320.9);
Tailwind
colors: {
  custom: {
    50: '#84598a',
    500: '#50155b',
    950: '#000000',
  },
}
SCSS
$custom: #50155b;
$custom-light: #84598a;
$custom-dark: #000000;
JSON
{
  "hex": "#50155b",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 290.571,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32713,
    "c": 0.12711,
    "h": 320.9
  },
  "luminance": 0.02997
}

Semantic roles & 50–950 ramp

primary
#50155B
secondary
#479239
accent
#E6425C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50155B

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

Preview Lab → · Contrast checker → · Palette generator →

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