#50146B#50146B

#50146B is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.144 H 312.5°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#50146B
RGBrgb(80, 20, 107)
HSLhsl(281, 69%, 25%)
HSVhsv(281, 81%, 42%)
CMYKcmyk(25.2%, 81.3%, 0%, 58%)
CIE-LABlab(21.08, 41.55, -37.51)
CIE-LCHlch(21.08, 55.98, 317.93°)
OKLaboklab(33.84% 0.0974 -0.1061)
OKLCHoklch(33.84% 0.144 312.5)
XYZxyz(6.2118, 3.2675, 14.2105)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50146B #2F6B14
analogous
#24146B #50146B #6B145B
triadic
#50146B #6B5014 #146B50
tetradic
#50146B #6B2414 #2F6B14 #145B6B
square
#50146B #6B2414 #2F6B14 #145B6B
split-complementary
#50146B #5B6B14 #146B24
monochromatic
#13051A #290A37 #50146B #771E9F #9D27D2

Accessibility & contrast

On white

12.70
#50146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#50146B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50146B
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50146B#FFFFFF#000000##FFFFFF
##50146B1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306D
Deuteranopia (green-blind)
#063469
Tritanopia (blue-blind)
#4D293F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #50146b;
/* rgb */ color: rgb(80, 20, 107);
/* oklch */ color: oklch(33.8% 0.144 312.5);
Tailwind
colors: {
  custom: {
    50: '#855996',
    500: '#50146b',
    950: '#000000',
  },
}
SCSS
$custom: #50146b;
$custom-light: #855996;
$custom-dark: #000000;
JSON
{
  "hex": "#50146b",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 281.379,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33837,
    "c": 0.14405,
    "h": 312.5
  },
  "luminance": 0.03267
}

Semantic roles & 50–950 ramp

primary
#50146B
secondary
#5AA239
accent
#EB3C73
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #50146B

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

Preview Lab → · Contrast checker → · Palette generator →

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