#50155C#50155C

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

Color values

HEX#50155C
RGBrgb(80, 21, 92)
HSLhsl(290, 63%, 22%)
HSVhsv(290, 77%, 36%)
CMYKcmyk(13%, 77.2%, 0%, 63.9%)
CIE-LABlab(20.10, 37.87, -29.22)
CIE-LCHlch(20.10, 47.83, 322.35°)
OKLaboklab(32.78% 0.0985 -0.0818)
OKLCHoklch(32.78% 0.128 320.3)
XYZxyz(5.5080, 3.0148, 10.4149)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50155C #215C15
analogous
#2D155C #50155C #5C1545
triadic
#50155C #5C5015 #155C50
tetradic
#50155C #5C2D15 #215C15 #15455C
square
#50155C #5C2D15 #215C15 #15455C
split-complementary
#50155C #455C15 #155C2D
monochromatic
#160619 #250A2A #50155C #7B208E #A72CC0

Accessibility & contrast

On white

13.10
#50155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50155C
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50155C#FFFFFF#000000##FFFFFF
##50155C1.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)
#002C5E
Deuteranopia (green-blind)
#1C335A
Tritanopia (blue-blind)
#502337
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #50155c;
/* rgb */ color: rgb(80, 21, 92);
/* oklch */ color: oklch(32.8% 0.128 320.3);
Tailwind
colors: {
  custom: {
    50: '#84598a',
    500: '#50155c',
    950: '#000000',
  },
}
SCSS
$custom: #50155c;
$custom-light: #84598a;
$custom-dark: #000000;
JSON
{
  "hex": "#50155c",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 289.859,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32785,
    "c": 0.12808,
    "h": 320.3
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#50155C
secondary
#499339
accent
#E6425E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50155C

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

Preview Lab → · Contrast checker → · Palette generator →

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