#50155D#50155D

#50155D is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.9% C 0.129 H 319.7°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#50155D
RGBrgb(80, 21, 93)
HSLhsl(289, 63%, 22%)
HSVhsv(289, 77%, 36%)
CMYKcmyk(14%, 77.4%, 0%, 63.5%)
CIE-LABlab(20.17, 38.08, -29.77)
CIE-LCHlch(20.17, 48.34, 321.98°)
OKLaboklab(32.86% 0.0984 -0.0834)
OKLCHoklch(32.86% 0.129 319.7)
XYZxyz(5.5520, 3.0324, 10.6467)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50155D #225D15
analogous
#2C155D #50155D #5D1546
triadic
#50155D #5D5015 #155D50
tetradic
#50155D #5D2C15 #225D15 #15465D
square
#50155D #5D2C15 #225D15 #15465D
split-complementary
#50155D #465D15 #155D2C
monochromatic
#150619 #250A2B #50155D #7B208F #A62CC1

Accessibility & contrast

On white

13.07
#50155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50155D
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50155D#FFFFFF#000000##FFFFFF
##50155D1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #50155d;
/* rgb */ color: rgb(80, 21, 93);
/* oklch */ color: oklch(32.9% 0.129 319.7);
Tailwind
colors: {
  custom: {
    50: '#84598b',
    500: '#50155d',
    950: '#000000',
  },
}
SCSS
$custom: #50155d;
$custom-light: #84598b;
$custom-dark: #000000;
JSON
{
  "hex": "#50155d",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 289.167,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32858,
    "c": 0.12905,
    "h": 319.7
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#50155D
secondary
#4A9439
accent
#E6425F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50155D

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

Preview Lab → · Contrast checker → · Palette generator →

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