#50135F#50135F

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

Color values

HEX#50135F
RGBrgb(80, 19, 95)
HSLhsl(288, 67%, 22%)
HSVhsv(288, 80%, 37%)
CMYKcmyk(15.8%, 80%, 0%, 62.7%)
CIE-LABlab(20.03, 39.31, -31.32)
CIE-LCHlch(20.03, 50.26, 321.45°)
OKLaboklab(32.81% 0.1004 -0.088)
OKLCHoklch(32.81% 0.133 318.8)
XYZxyz(5.6064, 2.9977, 11.1076)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50135F #225F13
analogous
#2A135F #50135F #5F1348
triadic
#50135F #5F5013 #135F50
tetradic
#50135F #5F2A13 #225F13 #13485F
square
#50135F #5F2A13 #225F13 #13485F
split-complementary
#50135F #485F13 #135F2A
monochromatic
#15051A #25092C #50135F #7B1D92 #A627C5

Accessibility & contrast

On white

13.13
#50135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50135F
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50135F#FFFFFF#000000##FFFFFF
##50135F1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#18325D
Tritanopia (blue-blind)
#502338
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #50135f;
/* rgb */ color: rgb(80, 19, 95);
/* oklch */ color: oklch(32.8% 0.133 318.8);
Tailwind
colors: {
  custom: {
    50: '#84588d',
    500: '#50135f',
    950: '#000000',
  },
}
SCSS
$custom: #50135f;
$custom-light: #84588d;
$custom-dark: #000000;
JSON
{
  "hex": "#50135f",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 288.158,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32805,
    "c": 0.13346,
    "h": 318.8
  },
  "luminance": 0.02997
}

Semantic roles & 50–950 ramp

primary
#50135F
secondary
#4A9737
accent
#EA3E60
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50135F

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

Preview Lab → · Contrast checker → · Palette generator →

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