#50115A#50115A

#50115A is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.2% C 0.131 H 321.7°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#50115A
RGBrgb(80, 17, 90)
HSLhsl(292, 68%, 21%)
HSVhsv(292, 81%, 35%)
CMYKcmyk(11.1%, 81.1%, 0%, 64.7%)
CIE-LABlab(19.41, 39.03, -28.99)
CIE-LCHlch(19.41, 48.62, 323.39°)
OKLaboklab(32.25% 0.1029 -0.0811)
OKLCHoklch(32.25% 0.131 321.7)
XYZxyz(5.3540, 2.8449, 9.9380)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50115A #1B5A11
analogous
#2B115A #50115A #5A113F
triadic
#50115A #5A5011 #115A50
tetradic
#50115A #5A2B11 #1B5A11 #113F5A
square
#50115A #5A2B11 #1B5A11 #113F5A
split-complementary
#50115A #3F5A11 #115A2B
monochromatic
#17051A #220727 #50115A #7E1B8D #AC24C1

Accessibility & contrast

On white

13.38
#50115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#50115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50115A
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50115A#FFFFFF#000000##FFFFFF
##50115A1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#1B3158
Tritanopia (blue-blind)
#511F35
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #50115a;
/* rgb */ color: rgb(80, 17, 90);
/* oklch */ color: oklch(32.2% 0.131 321.7);
Tailwind
colors: {
  custom: {
    50: '#845789',
    500: '#50115a',
    950: '#000000',
  },
}
SCSS
$custom: #50115a;
$custom-light: #845789;
$custom-dark: #000000;
JSON
{
  "hex": "#50115a",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 291.781,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32248,
    "c": 0.13106,
    "h": 321.7
  },
  "luminance": 0.02845
}

Semantic roles & 50–950 ramp

primary
#50115A
secondary
#419334
accent
#EB3D55
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #50115A

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

Preview Lab → · Contrast checker → · Palette generator →

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