#50154C#50154C

#50154C is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.7% C 0.113 H 330.7°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#50154C
RGBrgb(80, 21, 76)
HSLhsl(304, 58%, 20%)
HSVhsv(304, 74%, 31%)
CMYKcmyk(0%, 73.7%, 5%, 68.6%)
CIE-LABlab(19.07, 34.67, -20.08)
CIE-LCHlch(19.07, 40.07, 329.93°)
OKLaboklab(31.71% 0.0986 -0.0552)
OKLCHoklch(31.71% 0.113 330.7)
XYZxyz(4.8809, 2.7640, 7.1125)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50154C #155019
analogous
#371550 #50154C #50152E
triadic
#50154C #4C5015 #154C50
tetradic
#50154C #503715 #155019 #152E50
square
#50154C #503715 #155019 #152E50
split-complementary
#50154C #2E5015 #155037
monochromatic
#180617 #20081E #50154C #80227A #B12EA8

Accessibility & contrast

On white

13.52
#50154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#50154C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50154C
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50154C#FFFFFF#000000##FFFFFF
##50154C1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10294E
Deuteranopia (green-blind)
#26314A
Tritanopia (blue-blind)
#531C2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #50154c;
/* rgb */ color: rgb(80, 21, 76);
/* oklch */ color: oklch(31.7% 0.113 330.7);
Tailwind
colors: {
  custom: {
    50: '#83587e',
    500: '#50154c',
    950: '#000000',
  },
}
SCSS
$custom: #50154c;
$custom-light: #83587e;
$custom-dark: #000000;
JSON
{
  "hex": "#50154c",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 304.068,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31714,
    "c": 0.113,
    "h": 330.7
  },
  "luminance": 0.02764
}

Semantic roles & 50–950 ramp

primary
#50154C
secondary
#39883E
accent
#E25146
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #50154C

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

Preview Lab → · Contrast checker → · Palette generator →

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