#50174F#50174F

#50174F is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.1% C 0.113 H 328.5°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#50174F
RGBrgb(80, 23, 79)
HSLhsl(301, 55%, 20%)
HSVhsv(301, 71%, 31%)
CMYKcmyk(0%, 71.2%, 1.2%, 68.6%)
CIE-LABlab(19.57, 34.35, -21.33)
CIE-LCHlch(19.57, 40.44, 328.16°)
OKLaboklab(32.13% 0.0962 -0.0589)
OKLCHoklch(32.13% 0.113 328.5)
XYZxyz(5.0259, 2.8831, 7.6874)
Luminance0.0288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50174F #175018
analogous
#351750 #50174F #501732
triadic
#50174F #4F5017 #174F50
tetradic
#50174F #503517 #175018 #173250
square
#50174F #503517 #175018 #173250
split-complementary
#50174F #325017 #175035
monochromatic
#180717 #200920 #50174F #80257E #AF32AD

Accessibility & contrast

On white

13.32
#50174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#50174F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50174F
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50174F#FFFFFF#000000##FFFFFF
##50174F1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102B51
Deuteranopia (green-blind)
#26324D
Tritanopia (blue-blind)
#531E30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #50174f;
/* rgb */ color: rgb(80, 23, 79);
/* oklch */ color: oklch(32.1% 0.113 328.5);
Tailwind
colors: {
  custom: {
    50: '#835980',
    500: '#50174f',
    950: '#000000',
  },
}
SCSS
$custom: #50174f;
$custom-light: #835980;
$custom-dark: #000000;
JSON
{
  "hex": "#50174f",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 301.053,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3213,
    "c": 0.11282,
    "h": 328.5
  },
  "luminance": 0.02883
}

Semantic roles & 50–950 ramp

primary
#50174F
secondary
#3C873D
accent
#DF4C49
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #50174F

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

Preview Lab → · Contrast checker → · Palette generator →

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