#50185E#50185E

#50185E is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.3% C 0.126 H 318.9°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#50185E
RGBrgb(80, 24, 94)
HSLhsl(288, 59%, 23%)
HSVhsv(288, 74%, 37%)
CMYKcmyk(14.9%, 74.5%, 0%, 63.1%)
CIE-LABlab(20.70, 37.00, -29.59)
CIE-LCHlch(20.70, 47.38, 321.35°)
OKLaboklab(33.26% 0.0949 -0.0829)
OKLCHoklch(33.26% 0.126 318.9)
XYZxyz(5.6550, 3.1672, 10.9010)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50185E #265E18
analogous
#2D185E #50185E #5E1849
triadic
#50185E #5E5018 #185E50
tetradic
#50185E #5E2D18 #265E18 #18495E
square
#50185E #5E2D18 #265E18 #18495E
split-complementary
#50185E #495E18 #185E2D
monochromatic
#150618 #270C2D #50185E #79248F #A331C0

Accessibility & contrast

On white

12.86
#50185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#50185E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50185E
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50185E#FFFFFF#000000##FFFFFF
##50185E1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#1C345C
Tritanopia (blue-blind)
#502539
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #50185e;
/* rgb */ color: rgb(80, 24, 94);
/* oklch */ color: oklch(33.3% 0.126 318.9);
Tailwind
colors: {
  custom: {
    50: '#845b8c',
    500: '#50185e',
    950: '#000000',
  },
}
SCSS
$custom: #50185e;
$custom-light: #845b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#50185e",
  "rgb": {
    "r": 80,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 288,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33257,
    "c": 0.12607,
    "h": 318.9
  },
  "luminance": 0.03167
}

Semantic roles & 50–950 ramp

primary
#50185E
secondary
#4F943D
accent
#E34565
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50185E

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

Preview Lab → · Contrast checker → · Palette generator →

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