#50137D#50137D

#50137D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.163 H 305.0°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#50137D
RGBrgb(80, 19, 125)
HSLhsl(275, 74%, 28%)
HSVhsv(275, 85%, 49%)
CMYKcmyk(36%, 84.8%, 0%, 51%)
CIE-LABlab(22.49, 46.09, -46.80)
CIE-LCHlch(22.49, 65.69, 314.56°)
OKLaboklab(35.29% 0.0935 -0.1335)
OKLCHoklch(35.29% 0.163 305)
XYZxyz(7.2420, 3.6519, 19.7214)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50137D #407D13
analogous
#1B137D #50137D #7D1375
triadic
#50137D #7D5013 #137D50
tetradic
#50137D #7D1B13 #407D13 #13757D
square
#50137D #7D1B13 #407D13 #13757D
split-complementary
#50137D #757D13 #137D1B
monochromatic
#11041B #2E0B48 #50137D #721BB2 #932CDF

Accessibility & contrast

On white

12.14
#50137D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#50137D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50137D
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50137D#FFFFFF#000000##FFFFFF
##50137D1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #50137d;
/* rgb */ color: rgb(80, 19, 125);
/* oklch */ color: oklch(35.3% 0.163 305.0);
Tailwind
colors: {
  custom: {
    50: '#865aa3',
    500: '#50137d',
    950: '#000000',
  },
}
SCSS
$custom: #50137d;
$custom-light: #865aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#50137d",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 125
  },
  "hsl": {
    "h": 274.528,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35292,
    "c": 0.16293,
    "h": 305
  },
  "luminance": 0.03652
}

Semantic roles & 50–950 ramp

primary
#50137D
secondary
#6DB339
accent
#F03886
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #50137D

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

Preview Lab → · Contrast checker → · Palette generator →

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