#50117F#50117F

#50117F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.3% C 0.167 H 304.5°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#50117F
RGBrgb(80, 17, 127)
HSLhsl(274, 76%, 28%)
HSVhsv(274, 87%, 50%)
CMYKcmyk(37%, 86.6%, 0%, 50.2%)
CIE-LABlab(22.44, 47.22, -48.15)
CIE-LCHlch(22.44, 67.44, 314.44°)
OKLaboklab(35.32% 0.0943 -0.1374)
OKLCHoklch(35.32% 0.167 304.5)
XYZxyz(7.3386, 3.6387, 20.3903)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50117F #407F11
analogous
#19117F #50117F #7F1177
triadic
#50117F #7F5011 #117F50
tetradic
#50117F #7F1911 #407F11 #11777F
square
#50117F #7F1911 #407F11 #11777F
split-complementary
#50117F #777F11 #117F19
monochromatic
#11041B #2E0A49 #50117F #7218B5 #9328E2

Accessibility & contrast

On white

12.15
#50117F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#50117F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50117F
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50117F#FFFFFF#000000##FFFFFF
##50117F1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#47314A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #50117f;
/* rgb */ color: rgb(80, 17, 127);
/* oklch */ color: oklch(35.3% 0.167 304.5);
Tailwind
colors: {
  custom: {
    50: '#8759a5',
    500: '#50117f',
    950: '#000000',
  },
}
SCSS
$custom: #50117f;
$custom-light: #8759a5;
$custom-dark: #000000;
JSON
{
  "hex": "#50117f",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 127
  },
  "hsl": {
    "h": 274.364,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35316,
    "c": 0.16661,
    "h": 304.5
  },
  "luminance": 0.03639
}

Semantic roles & 50–950 ramp

primary
#50117F
secondary
#6DB537
accent
#F33586
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #50117F

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

Preview Lab → · Contrast checker → · Palette generator →

#50117F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva