#50125B#50125B

#50125B is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.131 H 321.1°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#50125B
RGBrgb(80, 18, 91)
HSLhsl(291, 67%, 21%)
HSVhsv(291, 80%, 36%)
CMYKcmyk(12.1%, 80.2%, 0%, 64.3%)
CIE-LABlab(19.61, 38.86, -29.34)
CIE-LCHlch(19.61, 48.69, 322.95°)
OKLaboklab(32.41% 0.1018 -0.0822)
OKLCHoklch(32.41% 0.131 321.1)
XYZxyz(5.4127, 2.8937, 10.1689)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50125B #1D5B12
analogous
#2C125B #50125B #5B1242
triadic
#50125B #5B5012 #125B50
tetradic
#50125B #5B2C12 #1D5B12 #12425B
square
#50125B #5B2C12 #1D5B12 #12425B
split-complementary
#50125B #425B12 #125B2C
monochromatic
#16051A #230828 #50125B #7D1C8E #AA26C1

Accessibility & contrast

On white

13.30
#50125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#50125B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50125B
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50125B#FFFFFF#000000##FFFFFF
##50125B1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5D
Deuteranopia (green-blind)
#1B3259
Tritanopia (blue-blind)
#512036
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #50125b;
/* rgb */ color: rgb(80, 18, 91);
/* oklch */ color: oklch(32.4% 0.131 321.1);
Tailwind
colors: {
  custom: {
    50: '#84588a',
    500: '#50125b',
    950: '#000000',
  },
}
SCSS
$custom: #50125b;
$custom-light: #84588a;
$custom-dark: #000000;
JSON
{
  "hex": "#50125b",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 290.959,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32414,
    "c": 0.13083,
    "h": 321.1
  },
  "luminance": 0.02893
}

Semantic roles & 50–950 ramp

primary
#50125B
secondary
#449335
accent
#EA3E58
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50125B

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

Preview Lab → · Contrast checker → · Palette generator →

#50125B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva