#50155E#50155E

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

Color values

HEX#50155E
RGBrgb(80, 21, 94)
HSLhsl(288, 63%, 23%)
HSVhsv(288, 78%, 37%)
CMYKcmyk(14.9%, 77.7%, 0%, 63.1%)
CIE-LABlab(20.24, 38.30, -30.32)
CIE-LCHlch(20.24, 48.85, 321.63°)
OKLaboklab(32.93% 0.0984 -0.0851)
OKLCHoklch(32.93% 0.13 319.1)
XYZxyz(5.5965, 3.0502, 10.8815)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50155E #235E15
analogous
#2B155E #50155E #5E1548
triadic
#50155E #5E5015 #155E50
tetradic
#50155E #5E2B15 #235E15 #15485E
square
#50155E #5E2B15 #235E15 #15485E
split-complementary
#50155E #485E15 #155E2B
monochromatic
#150619 #250A2C #50155E #7B2090 #A52BC2

Accessibility & contrast

On white

13.04
#50155E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50155E
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50155E#FFFFFF#000000##FFFFFF
##50155E1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D60
Deuteranopia (green-blind)
#1A335C
Tritanopia (blue-blind)
#502338
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #50155e;
/* rgb */ color: rgb(80, 21, 94);
/* oklch */ color: oklch(32.9% 0.130 319.1);
Tailwind
colors: {
  custom: {
    50: '#84598c',
    500: '#50155e',
    950: '#000000',
  },
}
SCSS
$custom: #50155e;
$custom-light: #84598c;
$custom-dark: #000000;
JSON
{
  "hex": "#50155e",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 94
  },
  "hsl": {
    "h": 288.493,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32931,
    "c": 0.13004,
    "h": 319.1
  },
  "luminance": 0.0305
}

Semantic roles & 50–950 ramp

primary
#50155E
secondary
#4B9539
accent
#E74161
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50155E

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

Preview Lab → · Contrast checker → · Palette generator →

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