#50154A#50154A

#50154A is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.6% C 0.111 H 332.2°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#50154A
RGBrgb(80, 21, 74)
HSLhsl(306, 58%, 20%)
HSVhsv(306, 74%, 31%)
CMYKcmyk(0%, 73.7%, 7.5%, 68.6%)
CIE-LABlab(18.96, 34.30, -18.89)
CIE-LCHlch(18.96, 39.16, 331.15°)
OKLaboklab(31.59% 0.0984 -0.0518)
OKLCHoklch(31.59% 0.111 332.2)
XYZxyz(4.8125, 2.7366, 6.7520)
Luminance0.0274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50154A #15501B
analogous
#391550 #50154A #50152C
triadic
#50154A #4A5015 #154A50
tetradic
#50154A #503915 #15501B #152C50
square
#50154A #503915 #15501B #152C50
split-complementary
#50154A #2C5015 #155039
monochromatic
#180616 #20081D #50154A #802277 #B12EA4

Accessibility & contrast

On white

13.57
#50154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50154A
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50154A#FFFFFF#000000##FFFFFF
##50154A1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12294C
Deuteranopia (green-blind)
#273149
Tritanopia (blue-blind)
#541B2D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #50154a;
/* rgb */ color: rgb(80, 21, 74);
/* oklch */ color: oklch(31.6% 0.111 332.2);
Tailwind
colors: {
  custom: {
    50: '#83587c',
    500: '#50154a',
    950: '#000000',
  },
}
SCSS
$custom: #50154a;
$custom-light: #83587c;
$custom-dark: #000000;
JSON
{
  "hex": "#50154a",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 306.102,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31592,
    "c": 0.11122,
    "h": 332.2
  },
  "luminance": 0.02736
}

Semantic roles & 50–950 ramp

primary
#50154A
secondary
#398841
accent
#E25646
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #50154A

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

Preview Lab → · Contrast checker → · Palette generator →

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