#50126A#50126A

#50126A is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.145 H 313.2°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#50126A
RGBrgb(80, 18, 106)
HSLhsl(282, 71%, 24%)
HSVhsv(282, 83%, 42%)
CMYKcmyk(24.5%, 83%, 0%, 58.4%)
CIE-LABlab(20.75, 42.08, -37.41)
CIE-LCHlch(20.75, 56.30, 318.36°)
OKLaboklab(33.57% 0.0994 -0.1058)
OKLCHoklch(33.57% 0.145 313.2)
XYZxyz(6.1256, 3.1789, 13.9238)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50126A #2C6A12
analogous
#24126A #50126A #6A1258
triadic
#50126A #6A5012 #126A50
tetradic
#50126A #6A2412 #2C6A12 #12586A
square
#50126A #6A2412 #2C6A12 #12586A
split-complementary
#50126A #586A12 #126A24
monochromatic
#14041A #290936 #50126A #771B9E #9F24D3

Accessibility & contrast

On white

12.84
#50126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#50126A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50126A
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50126A#FFFFFF#000000##FFFFFF
##50126A1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#063368
Tritanopia (blue-blind)
#4D273E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #50126a;
/* rgb */ color: rgb(80, 18, 106);
/* oklch */ color: oklch(33.6% 0.145 313.2);
Tailwind
colors: {
  custom: {
    50: '#855895',
    500: '#50126a',
    950: '#000000',
  },
}
SCSS
$custom: #50126a;
$custom-light: #855895;
$custom-dark: #000000;
JSON
{
  "hex": "#50126a",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 282.273,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33574,
    "c": 0.1452,
    "h": 313.2
  },
  "luminance": 0.03179
}

Semantic roles & 50–950 ramp

primary
#50126A
secondary
#56A236
accent
#EE3A6F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #50126A

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

Preview Lab → · Contrast checker → · Palette generator →

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