#50125A#50125A

#50125A is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.130 H 321.7°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#50125A
RGBrgb(80, 18, 90)
HSLhsl(292, 67%, 21%)
HSVhsv(292, 80%, 35%)
CMYKcmyk(11.1%, 80%, 0%, 64.7%)
CIE-LABlab(19.54, 38.66, -28.78)
CIE-LCHlch(19.54, 48.19, 323.33°)
OKLaboklab(32.34% 0.1019 -0.0805)
OKLCHoklch(32.34% 0.13 321.7)
XYZxyz(5.3698, 2.8766, 9.9433)
Luminance0.0288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50125A #1C5A12
analogous
#2C125A #50125A #5A1240
triadic
#50125A #5A5012 #125A50
tetradic
#50125A #5A2C12 #1C5A12 #12405A
square
#50125A #5A2C12 #1C5A12 #12405A
split-complementary
#50125A #405A12 #125A2C
monochromatic
#17051A #230827 #50125A #7D1C8D #AB26C0

Accessibility & contrast

On white

13.33
#50125A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50125A
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50125A#FFFFFF#000000##FFFFFF
##50125A1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#1C3258
Tritanopia (blue-blind)
#512035
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #50125a;
/* rgb */ color: rgb(80, 18, 90);
/* oklch */ color: oklch(32.3% 0.130 321.7);
Tailwind
colors: {
  custom: {
    50: '#845889',
    500: '#50125a',
    950: '#000000',
  },
}
SCSS
$custom: #50125a;
$custom-light: #845889;
$custom-dark: #000000;
JSON
{
  "hex": "#50125a",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 90
  },
  "hsl": {
    "h": 291.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32341,
    "c": 0.12989,
    "h": 321.7
  },
  "luminance": 0.02876
}

Semantic roles & 50–950 ramp

primary
#50125A
secondary
#429335
accent
#EA3E56
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #50125A

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

Preview Lab → · Contrast checker → · Palette generator →

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