#50154D#50154D

#50154D is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.8% C 0.114 H 330.0°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#50154D
RGBrgb(80, 21, 77)
HSLhsl(303, 58%, 20%)
HSVhsv(303, 74%, 31%)
CMYKcmyk(0%, 73.7%, 3.7%, 68.6%)
CIE-LABlab(19.13, 34.86, -20.67)
CIE-LCHlch(19.13, 40.53, 329.34°)
OKLaboklab(31.78% 0.0987 -0.0569)
OKLCHoklch(31.78% 0.114 330)
XYZxyz(4.9160, 2.7780, 7.2970)
Luminance0.0278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50154D #155018
analogous
#361550 #50154D #501530
triadic
#50154D #4D5015 #154D50
tetradic
#50154D #503615 #155018 #153050
square
#50154D #503615 #155018 #153050
split-complementary
#50154D #305015 #155036
monochromatic
#180617 #20081E #50154D #80227C #B12EAA

Accessibility & contrast

On white

13.50
#50154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50154D
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50154D#FFFFFF#000000##FFFFFF
##50154D1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F294F
Deuteranopia (green-blind)
#26314B
Tritanopia (blue-blind)
#531C2F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #50154d;
/* rgb */ color: rgb(80, 21, 77);
/* oklch */ color: oklch(31.8% 0.114 330.0);
Tailwind
colors: {
  custom: {
    50: '#83587f',
    500: '#50154d',
    950: '#000000',
  },
}
SCSS
$custom: #50154d;
$custom-light: #83587f;
$custom-dark: #000000;
JSON
{
  "hex": "#50154d",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 303.051,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31776,
    "c": 0.1139,
    "h": 330
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#50154D
secondary
#39883D
accent
#E24E46
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #50154D

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

Preview Lab → · Contrast checker → · Palette generator →

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