#50154B#50154B

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

Color values

HEX#50154B
RGBrgb(80, 21, 75)
HSLhsl(305, 58%, 20%)
HSVhsv(305, 74%, 31%)
CMYKcmyk(0%, 73.7%, 6.2%, 68.6%)
CIE-LABlab(19.01, 34.48, -19.49)
CIE-LCHlch(19.01, 39.61, 330.53°)
OKLaboklab(31.65% 0.0985 -0.0535)
OKLCHoklch(31.65% 0.112 331.5)
XYZxyz(4.8464, 2.7502, 6.9308)
Luminance0.0275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50154B #15501A
analogous
#381550 #50154B #50152D
triadic
#50154B #4B5015 #154B50
tetradic
#50154B #503815 #15501A #152D50
square
#50154B #503815 #15501A #152D50
split-complementary
#50154B #2D5015 #155038
monochromatic
#180617 #20081E #50154B #802278 #B12EA6

Accessibility & contrast

On white

13.55
#50154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50154B
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50154B#FFFFFF#000000##FFFFFF
##50154B1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11294D
Deuteranopia (green-blind)
#273149
Tritanopia (blue-blind)
#531B2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #50154b;
/* rgb */ color: rgb(80, 21, 75);
/* oklch */ color: oklch(31.7% 0.112 331.5);
Tailwind
colors: {
  custom: {
    50: '#83587d',
    500: '#50154b',
    950: '#000000',
  },
}
SCSS
$custom: #50154b;
$custom-light: #83587d;
$custom-dark: #000000;
JSON
{
  "hex": "#50154b",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 305.085,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31652,
    "c": 0.11211,
    "h": 331.5
  },
  "luminance": 0.0275
}

Semantic roles & 50–950 ramp

primary
#50154B
secondary
#398840
accent
#E25346
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #50154B

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

Preview Lab → · Contrast checker → · Palette generator →

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