#50154F#50154F

#50154F is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.9% C 0.116 H 328.6°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#50154F
RGBrgb(80, 21, 79)
HSLhsl(301, 58%, 20%)
HSVhsv(301, 74%, 31%)
CMYKcmyk(0%, 73.7%, 1.2%, 68.6%)
CIE-LABlab(19.25, 35.24, -21.84)
CIE-LCHlch(19.25, 41.46, 328.22°)
OKLaboklab(31.9% 0.0988 -0.0603)
OKLCHoklch(31.9% 0.116 328.6)
XYZxyz(4.9877, 2.8067, 7.6747)
Luminance0.0281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50154F #155016
analogous
#341550 #50154F #501532
triadic
#50154F #4F5015 #154F50
tetradic
#50154F #503415 #155016 #153250
square
#50154F #503415 #155016 #153250
split-complementary
#50154F #325015 #155034
monochromatic
#180618 #20081F #50154F #80227F #B12EAF

Accessibility & contrast

On white

13.45
#50154F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#50154F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50154F
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50154F#FFFFFF#000000##FFFFFF
##50154F1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2A51
Deuteranopia (green-blind)
#25314D
Tritanopia (blue-blind)
#531D30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #50154f;
/* rgb */ color: rgb(80, 21, 79);
/* oklch */ color: oklch(31.9% 0.116 328.6);
Tailwind
colors: {
  custom: {
    50: '#835880',
    500: '#50154f',
    950: '#000000',
  },
}
SCSS
$custom: #50154f;
$custom-light: #835880;
$custom-dark: #000000;
JSON
{
  "hex": "#50154f",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 79
  },
  "hsl": {
    "h": 301.017,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31901,
    "c": 0.11573,
    "h": 328.6
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#50154F
secondary
#39883A
accent
#E24946
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #50154F

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

Preview Lab → · Contrast checker → · Palette generator →

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