#50155A#50155A

#50155A is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.6% C 0.126 H 321.5°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#50155A
RGBrgb(80, 21, 90)
HSLhsl(291, 62%, 22%)
HSVhsv(291, 77%, 35%)
CMYKcmyk(11.1%, 76.7%, 0%, 64.7%)
CIE-LABlab(19.96, 37.45, -28.11)
CIE-LCHlch(19.96, 46.83, 323.11°)
OKLaboklab(32.64% 0.0987 -0.0786)
OKLCHoklch(32.64% 0.126 321.5)
XYZxyz(5.4217, 2.9803, 9.9606)
Luminance0.0298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50155A #1F5A15
analogous
#2E155A #50155A #5A1542
triadic
#50155A #5A5015 #155A50
tetradic
#50155A #5A2E15 #1F5A15 #15425A
square
#50155A #5A2E15 #1F5A15 #15425A
split-complementary
#50155A #425A15 #155A2E
monochromatic
#160619 #240928 #50155A #7C218C #A82CBD

Accessibility & contrast

On white

13.16
#50155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50155A
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50155A#FFFFFF#000000##FFFFFF
##50155A1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #50155a;
/* rgb */ color: rgb(80, 21, 90);
/* oklch */ color: oklch(32.6% 0.126 321.5);
Tailwind
colors: {
  custom: {
    50: '#845989',
    500: '#50155a',
    950: '#000000',
  },
}
SCSS
$custom: #50155a;
$custom-light: #845989;
$custom-dark: #000000;
JSON
{
  "hex": "#50155a",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 291.304,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32642,
    "c": 0.12614,
    "h": 321.5
  },
  "luminance": 0.0298
}

Semantic roles & 50–950 ramp

primary
#50155A
secondary
#469239
accent
#E5435A
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #50155A

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

Preview Lab → · Contrast checker → · Palette generator →

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