#50169F#50169F

#50169F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.8% C 0.195 H 294.0°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#50169F
RGBrgb(80, 22, 159)
HSLhsl(265, 76%, 35%)
HSVhsv(265, 86%, 62%)
CMYKcmyk(49.7%, 86.2%, 0%, 37.6%)
CIE-LABlab(26.11, 53.38, -62.02)
CIE-LCHlch(26.11, 81.83, 310.72°)
OKLaboklab(38.78% 0.0792 -0.1781)
OKLCHoklch(38.78% 0.195 294)
XYZxyz(9.8514, 4.7822, 33.1982)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50169F #659F16
analogous
#16219F #50169F #94169F
triadic
#50169F #9F5016 #169F50
tetradic
#50169F #9F1621 #659F16 #169F94
square
#50169F #9F1621 #659F16 #169F94
split-complementary
#50169F #9F9416 #219F16
monochromatic
#1A0733 #350F69 #50169F #6B1DD5 #8C4AE6

Accessibility & contrast

On white

10.73
#50169F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#50169F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50169F
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50169F#FFFFFF#000000##FFFFFF
##50169F1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#37415E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #50169f;
/* rgb */ color: rgb(80, 22, 159);
/* oklch */ color: oklch(38.8% 0.195 294.0);
Tailwind
colors: {
  custom: {
    50: '#8a5ebd',
    500: '#50169f',
    950: '#000000',
  },
}
SCSS
$custom: #50169f;
$custom-light: #8a5ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#50169f",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 159
  },
  "hsl": {
    "h": 265.401,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38781,
    "c": 0.19489,
    "h": 294
  },
  "luminance": 0.04782
}

Semantic roles & 50–950 ramp

primary
#50169F
secondary
#92C74A
accent
#F236A2
background
#F9F5FB
surface
#F1E9F7
border
#CBC5D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #50169F

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

Preview Lab → · Contrast checker → · Palette generator →

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