#50114E#50114E

#50114E is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.4% C 0.120 H 329.4°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#50114E
RGBrgb(80, 17, 78)
HSLhsl(302, 65%, 19%)
HSVhsv(302, 79%, 31%)
CMYKcmyk(0%, 78.8%, 2.5%, 68.6%)
CIE-LABlab(18.61, 36.69, -22.17)
CIE-LCHlch(18.61, 42.87, 328.86°)
OKLaboklab(31.42% 0.1034 -0.0612)
OKLCHoklch(31.42% 0.12 329.4)
XYZxyz(4.8838, 2.6568, 7.4618)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50114E #115013
analogous
#331150 #50114E #50112F
triadic
#50114E #4E5011 #114E50
tetradic
#50114E #503311 #115013 #112F50
square
#50114E #503311 #115013 #112F50
split-complementary
#50114E #2F5011 #115033
monochromatic
#190519 #1E061D #50114E #821C7F #B526B0

Accessibility & contrast

On white

13.71
#50114E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#50114E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50114E
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50114E#FFFFFF#000000##FFFFFF
##50114E1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082850
Deuteranopia (green-blind)
#23304C
Tritanopia (blue-blind)
#531A2E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #50114e;
/* rgb */ color: rgb(80, 17, 78);
/* oklch */ color: oklch(31.4% 0.120 329.4);
Tailwind
colors: {
  custom: {
    50: '#845780',
    500: '#50114e',
    950: '#000000',
  },
}
SCSS
$custom: #50114e;
$custom-light: #845780;
$custom-dark: #000000;
JSON
{
  "hex": "#50114e",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 78
  },
  "hsl": {
    "h": 301.905,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31422,
    "c": 0.12017,
    "h": 329.4
  },
  "luminance": 0.02656
}

Semantic roles & 50–950 ramp

primary
#50114E
secondary
#338936
accent
#E84540
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #50114E

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

Preview Lab → · Contrast checker → · Palette generator →

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