#50135E#50135E

#50135E is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.7% C 0.133 H 319.3°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#50135E
RGBrgb(80, 19, 94)
HSLhsl(289, 66%, 22%)
HSVhsv(289, 80%, 37%)
CMYKcmyk(14.9%, 79.8%, 0%, 63.1%)
CIE-LABlab(19.96, 39.10, -30.78)
CIE-LCHlch(19.96, 49.76, 321.80°)
OKLaboklab(32.73% 0.1005 -0.0864)
OKLCHoklch(32.73% 0.133 319.3)
XYZxyz(5.5613, 2.9796, 10.8697)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50135E #215E13
analogous
#2B135E #50135E #5E1347
triadic
#50135E #5E5013 #135E50
tetradic
#50135E #5E2B13 #215E13 #13475E
square
#50135E #5E2B13 #215E13 #13475E
split-complementary
#50135E #475E13 #135E2B
monochromatic
#160519 #25092B #50135E #7B1D91 #A728C4

Accessibility & contrast

On white

13.16
#50135E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#50135E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50135E
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50135E#FFFFFF#000000##FFFFFF
##50135E1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#19325C
Tritanopia (blue-blind)
#502238
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #50135e;
/* rgb */ color: rgb(80, 19, 94);
/* oklch */ color: oklch(32.7% 0.133 319.3);
Tailwind
colors: {
  custom: {
    50: '#84588c',
    500: '#50135e',
    950: '#000000',
  },
}
SCSS
$custom: #50135e;
$custom-light: #84588c;
$custom-dark: #000000;
JSON
{
  "hex": "#50135e",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 94
  },
  "hsl": {
    "h": 288.8,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3273,
    "c": 0.1325,
    "h": 319.3
  },
  "luminance": 0.02979
}

Semantic roles & 50–950 ramp

primary
#50135E
secondary
#499637
accent
#E93F5E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50135E

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

Preview Lab → · Contrast checker → · Palette generator →

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