#50126B#50126B

#50126B is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.7% C 0.146 H 312.7°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#50126B
RGBrgb(80, 18, 107)
HSLhsl(282, 71%, 25%)
HSVhsv(282, 83%, 42%)
CMYKcmyk(25.2%, 83.2%, 0%, 58%)
CIE-LABlab(20.83, 42.30, -37.93)
CIE-LCHlch(20.83, 56.81, 318.12°)
OKLaboklab(33.66% 0.0992 -0.1074)
OKLCHoklch(33.66% 0.146 312.7)
XYZxyz(6.1779, 3.1998, 14.1993)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50126B #2D6B12
analogous
#24126B #50126B #6B125A
triadic
#50126B #6B5012 #126B50
tetradic
#50126B #6B2412 #2D6B12 #125A6B
square
#50126B #6B2412 #2D6B12 #125A6B
split-complementary
#50126B #5A6B12 #126B24
monochromatic
#14041A #290937 #50126B #771B9F #9E24D4

Accessibility & contrast

On white

12.80
#50126B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50126B
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50126B#FFFFFF#000000##FFFFFF
##50126B1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#043369
Tritanopia (blue-blind)
#4D283F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #50126b;
/* rgb */ color: rgb(80, 18, 107);
/* oklch */ color: oklch(33.7% 0.146 312.7);
Tailwind
colors: {
  custom: {
    50: '#855996',
    500: '#50126b',
    950: '#000000',
  },
}
SCSS
$custom: #50126b;
$custom-light: #855996;
$custom-dark: #000000;
JSON
{
  "hex": "#50126b",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 107
  },
  "hsl": {
    "h": 281.798,
    "s": 71.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33656,
    "c": 0.14617,
    "h": 312.7
  },
  "luminance": 0.032
}

Semantic roles & 50–950 ramp

primary
#50126B
secondary
#57A236
accent
#EE3A70
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #50126B

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

Preview Lab → · Contrast checker → · Palette generator →

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