#50135A#50135A

#50135A is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.129 H 321.6°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#50135A
RGBrgb(80, 19, 90)
HSLhsl(292, 65%, 21%)
HSVhsv(292, 79%, 35%)
CMYKcmyk(11.1%, 78.9%, 0%, 64.7%)
CIE-LABlab(19.68, 38.27, -28.57)
CIE-LCHlch(19.68, 47.75, 323.26°)
OKLaboklab(32.44% 0.1009 -0.0799)
OKLCHoklch(32.44% 0.129 321.6)
XYZxyz(5.3864, 2.9097, 9.9488)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50135A #1D5A13
analogous
#2D135A #50135A #5A1341
triadic
#50135A #5A5013 #135A50
tetradic
#50135A #5A2D13 #1D5A13 #13415A
square
#50135A #5A2D13 #1D5A13 #13415A
split-complementary
#50135A #415A13 #135A2D
monochromatic
#160519 #230827 #50135A #7D1E8D #AA28BF

Accessibility & contrast

On white

13.28
#50135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#50135A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50135A
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50135A#FFFFFF#000000##FFFFFF
##50135A1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#1C3258
Tritanopia (blue-blind)
#512135
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #50135a;
/* rgb */ color: rgb(80, 19, 90);
/* oklch */ color: oklch(32.4% 0.129 321.6);
Tailwind
colors: {
  custom: {
    50: '#845889',
    500: '#50135a',
    950: '#000000',
  },
}
SCSS
$custom: #50135a;
$custom-light: #845889;
$custom-dark: #000000;
JSON
{
  "hex": "#50135a",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 291.549,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32438,
    "c": 0.12867,
    "h": 321.6
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#50135A
secondary
#449237
accent
#E84057
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #50135A

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

Preview Lab → · Contrast checker → · Palette generator →

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