#5D1699#5D1699

#5D1699 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.8% C 0.190 H 302.3°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#5D1699
RGBrgb(93, 22, 153)
HSLhsl(273, 75%, 34%)
HSVhsv(273, 86%, 60%)
CMYKcmyk(39.2%, 85.6%, 0%, 40%)
CIE-LABlab(27.30, 53.65, -56.32)
CIE-LCHlch(27.30, 77.79, 313.61°)
OKLaboklab(39.81% 0.1019 -0.1609)
OKLCHoklch(39.81% 0.19 302.3)
XYZxyz(10.5495, 5.2008, 30.5789)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1699 #529916
analogous
#1C1699 #5D1699 #991694
triadic
#5D1699 #995D16 #16995D
tetradic
#5D1699 #991C16 #529916 #169499
square
#5D1699 #991C16 #529916 #169499
split-complementary
#5D1699 #949916 #16991C
monochromatic
#1C072E #3C0E63 #5D1699 #7E1ECF #9B45E4

Accessibility & contrast

On white

10.29
#5D1699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#5D1699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1699
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1699#FFFFFF#000000##FFFFFF
##5D16991.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#503C5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5d1699;
/* rgb */ color: rgb(93, 22, 153);
/* oklch */ color: oklch(39.8% 0.190 302.3);
Tailwind
colors: {
  custom: {
    50: '#915fb8',
    500: '#5d1699',
    950: '#000000',
  },
}
SCSS
$custom: #5d1699;
$custom-light: #915fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1699",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 272.519,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3981,
    "c": 0.19047,
    "h": 302.3
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#5D1699
secondary
#80C546
accent
#F1368C
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #5D1699

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

Preview Lab → · Contrast checker → · Palette generator →

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