#50147D#50147D

#50147D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.162 H 304.9°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#50147D
RGBrgb(80, 20, 125)
HSLhsl(274, 72%, 28%)
HSVhsv(274, 84%, 49%)
CMYKcmyk(36%, 84%, 0%, 51%)
CIE-LABlab(22.61, 45.73, -46.61)
CIE-LCHlch(22.61, 65.30, 314.46°)
OKLaboklab(35.38% 0.0927 -0.1329)
OKLCHoklch(35.38% 0.162 304.9)
XYZxyz(7.2592, 3.6865, 19.7272)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50147D #417D14
analogous
#1C147D #50147D #7D1475
triadic
#50147D #7D5014 #147D50
tetradic
#50147D #7D1C14 #417D14 #14757D
square
#50147D #7D1C14 #417D14 #14757D
split-complementary
#50147D #757D14 #147D1C
monochromatic
#11041A #2E0C48 #50147D #721CB2 #922EDE

Accessibility & contrast

On white

12.09
#50147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#50147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50147D
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50147D#FFFFFF#000000##FFFFFF
##50147D1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#473149
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #50147d;
/* rgb */ color: rgb(80, 20, 125);
/* oklch */ color: oklch(35.4% 0.162 304.9);
Tailwind
colors: {
  custom: {
    50: '#865aa3',
    500: '#50147d',
    950: '#000000',
  },
}
SCSS
$custom: #50147d;
$custom-light: #865aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#50147d",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 274.286,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35376,
    "c": 0.16203,
    "h": 304.9
  },
  "luminance": 0.03686
}

Semantic roles & 50–950 ramp

primary
#50147D
secondary
#6EB23A
accent
#EF3987
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #50147D

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

Preview Lab → · Contrast checker → · Palette generator →

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