#50147C#50147C

#50147C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.161 H 305.3°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#50147C
RGBrgb(80, 20, 124)
HSLhsl(275, 72%, 28%)
HSVhsv(275, 84%, 49%)
CMYKcmyk(35.5%, 83.9%, 0%, 51.4%)
CIE-LABlab(22.52, 45.49, -46.12)
CIE-LCHlch(22.52, 64.78, 314.61°)
OKLaboklab(35.29% 0.093 -0.1314)
OKLCHoklch(35.29% 0.161 305.3)
XYZxyz(7.1957, 3.6611, 19.3924)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50147C #407C14
analogous
#1C147C #50147C #7C1474
triadic
#50147C #7C5014 #147C50
tetradic
#50147C #7C1C14 #407C14 #14747C
square
#50147C #7C1C14 #407C14 #14747C
split-complementary
#50147C #747C14 #147C1C
monochromatic
#11041A #2E0B47 #50147C #721DB1 #932DDD

Accessibility & contrast

On white

12.12
#50147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#50147C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50147C
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50147C#FFFFFF#000000##FFFFFF
##50147C1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#483049
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #50147c;
/* rgb */ color: rgb(80, 20, 124);
/* oklch */ color: oklch(35.3% 0.161 305.3);
Tailwind
colors: {
  custom: {
    50: '#865aa3',
    500: '#50147c',
    950: '#000000',
  },
}
SCSS
$custom: #50147c;
$custom-light: #865aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#50147c",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 274.615,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35287,
    "c": 0.16102,
    "h": 305.3
  },
  "luminance": 0.03661
}

Semantic roles & 50–950 ramp

primary
#50147C
secondary
#6DB23A
accent
#EF3986
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #50147C

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

Preview Lab → · Contrast checker → · Palette generator →

#50147C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva