#50155F#50155F

#50155F is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.0% C 0.131 H 318.6°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#50155F
RGBrgb(80, 21, 95)
HSLhsl(288, 64%, 23%)
HSVhsv(288, 78%, 37%)
CMYKcmyk(15.8%, 77.9%, 0%, 62.7%)
CIE-LABlab(20.32, 38.51, -30.87)
CIE-LCHlch(20.32, 49.36, 321.28°)
OKLaboklab(33% 0.0983 -0.0867)
OKLCHoklch(33% 0.131 318.6)
XYZxyz(5.6417, 3.0683, 11.1193)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50155F #245F15
analogous
#2B155F #50155F #5F1549
triadic
#50155F #5F5015 #155F50
tetradic
#50155F #5F2B15 #245F15 #15495F
square
#50155F #5F2B15 #245F15 #15495F
split-complementary
#50155F #495F15 #155F2B
monochromatic
#150619 #260A2D #50155F #7A2091 #A42BC3

Accessibility & contrast

On white

13.01
#50155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50155F
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50155F#FFFFFF#000000##FFFFFF
##50155F1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#19335D
Tritanopia (blue-blind)
#502439
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #50155f;
/* rgb */ color: rgb(80, 21, 95);
/* oklch */ color: oklch(33.0% 0.131 318.6);
Tailwind
colors: {
  custom: {
    50: '#84598d',
    500: '#50155f',
    950: '#000000',
  },
}
SCSS
$custom: #50155f;
$custom-light: #84598d;
$custom-dark: #000000;
JSON
{
  "hex": "#50155f",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 287.838,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33004,
    "c": 0.13101,
    "h": 318.6
  },
  "luminance": 0.03068
}

Semantic roles & 50–950 ramp

primary
#50155F
secondary
#4C963A
accent
#E74163
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50155F

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

Preview Lab → · Contrast checker → · Palette generator →

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