#5D169F#5D169F

#5D169F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.4% C 0.196 H 300.5°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#5D169F
RGBrgb(93, 22, 159)
HSLhsl(271, 76%, 35%)
HSVhsv(271, 86%, 62%)
CMYKcmyk(41.5%, 86.2%, 0%, 37.6%)
CIE-LABlab(27.86, 55.05, -59.07)
CIE-LCHlch(27.86, 80.75, 312.98°)
OKLaboklab(40.36% 0.0997 -0.169)
OKLCHoklch(40.36% 0.196 300.5)
XYZxyz(11.0575, 5.4041, 33.2547)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D169F #589F16
analogous
#18169F #5D169F #9F169C
triadic
#5D169F #9F5D16 #169F5D
tetradic
#5D169F #9F1816 #589F16 #169C9F
square
#5D169F #9F1816 #589F16 #169C9F
split-complementary
#5D169F #9C9F16 #169F18
monochromatic
#1E0733 #3E0F69 #5D169F #7C1DD5 #9B4AE6

Accessibility & contrast

On white

10.09
#5D169F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#5D169F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D169F
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D169F#FFFFFF#000000##FFFFFF
##5D169F1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#4D3F5E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5d169f;
/* rgb */ color: rgb(93, 22, 159);
/* oklch */ color: oklch(40.4% 0.196 300.5);
Tailwind
colors: {
  custom: {
    50: '#925fbc',
    500: '#5d169f',
    950: '#000000',
  },
}
SCSS
$custom: #5d169f;
$custom-light: #925fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d169f",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 159
  },
  "hsl": {
    "h": 271.095,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40364,
    "c": 0.19624,
    "h": 300.5
  },
  "luminance": 0.05404
}

Semantic roles & 50–950 ramp

primary
#5D169F
secondary
#86C74A
accent
#F23690
background
#F9F5FB
surface
#F2EAF7
border
#CCC6D0
text
#0E0512
muted
#7E7981

Preview Lab

Preview with #5D169F

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

Preview Lab → · Contrast checker → · Palette generator →

#5D169F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva