#50137F#50137F

#50137F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.165 H 304.3°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#50137F
RGBrgb(80, 19, 127)
HSLhsl(274, 74%, 29%)
HSVhsv(274, 85%, 50%)
CMYKcmyk(37%, 85%, 0%, 50.2%)
CIE-LABlab(22.67, 46.56, -47.78)
CIE-LCHlch(22.67, 66.71, 314.26°)
OKLaboklab(35.47% 0.0928 -0.1363)
OKLCHoklch(35.47% 0.165 304.3)
XYZxyz(7.3710, 3.7035, 20.4011)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50137F #427F13
analogous
#1A137F #50137F #7F1378
triadic
#50137F #7F5013 #137F50
tetradic
#50137F #7F1A13 #427F13 #13787F
square
#50137F #7F1A13 #427F13 #13787F
split-complementary
#50137F #787F13 #137F1A
monochromatic
#11041B #2E0B4A #50137F #721BB4 #922DE0

Accessibility & contrast

On white

12.06
#50137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#50137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50137F
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50137F#FFFFFF#000000##FFFFFF
##50137F1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #50137f;
/* rgb */ color: rgb(80, 19, 127);
/* oklch */ color: oklch(35.5% 0.165 304.3);
Tailwind
colors: {
  custom: {
    50: '#875aa5',
    500: '#50137f',
    950: '#000000',
  },
}
SCSS
$custom: #50137f;
$custom-light: #875aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#50137f",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 273.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35473,
    "c": 0.16492,
    "h": 304.3
  },
  "luminance": 0.03704
}

Semantic roles & 50–950 ramp

primary
#50137F
secondary
#6FB439
accent
#F13788
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #50137F

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

Preview Lab → · Contrast checker → · Palette generator →

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