#50125E#50125E

#50125E is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.6% C 0.134 H 319.4°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#50125E
RGBrgb(80, 18, 94)
HSLhsl(289, 68%, 22%)
HSVhsv(289, 81%, 37%)
CMYKcmyk(14.9%, 80.9%, 0%, 63.1%)
CIE-LABlab(19.83, 39.48, -30.99)
CIE-LCHlch(19.83, 50.19, 321.87°)
OKLaboklab(32.64% 0.1015 -0.087)
OKLCHoklch(32.64% 0.134 319.4)
XYZxyz(5.5447, 2.9465, 10.8642)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50125E #205E12
analogous
#2A125E #50125E #5E1246
triadic
#50125E #5E5012 #125E50
tetradic
#50125E #5E2A12 #205E12 #12465E
square
#50125E #5E2A12 #205E12 #12465E
split-complementary
#50125E #465E12 #125E2A
monochromatic
#16051A #24082B #50125E #7C1C91 #A726C5

Accessibility & contrast

On white

13.21
#50125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#50125E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50125E
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50125E#FFFFFF#000000##FFFFFF
##50125E1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#18325C
Tritanopia (blue-blind)
#502237
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #50125e;
/* rgb */ color: rgb(80, 18, 94);
/* oklch */ color: oklch(32.6% 0.134 319.4);
Tailwind
colors: {
  custom: {
    50: '#84588c',
    500: '#50125e',
    950: '#000000',
  },
}
SCSS
$custom: #50125e;
$custom-light: #84588c;
$custom-dark: #000000;
JSON
{
  "hex": "#50125e",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 288.947,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32635,
    "c": 0.13366,
    "h": 319.4
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#50125E
secondary
#479635
accent
#EB3D5D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #50125E

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

Preview Lab → · Contrast checker → · Palette generator →

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