#5D209D#5D209D

#5D209D is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.186 H 300.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#5D209D
RGBrgb(93, 32, 157)
HSLhsl(269, 66%, 37%)
HSVhsv(269, 80%, 62%)
CMYKcmyk(40.8%, 79.6%, 0%, 38.4%)
CIE-LABlab(28.89, 51.03, -56.16)
CIE-LCHlch(28.89, 75.88, 312.26°)
OKLaboklab(41.02% 0.0933 -0.1606)
OKLCHoklch(41.02% 0.186 300.2)
XYZxyz(11.1150, 5.7944, 32.4246)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D209D #609D20
analogous
#20219D #5D209D #9C209D
triadic
#5D209D #9D5D20 #209D5D
tetradic
#5D209D #9D2021 #609D20 #209D9C
square
#5D209D #9D2021 #609D20 #209D9C
split-complementary
#5D209D #9D9C20 #219D20
monochromatic
#210B37 #3F166A #5D209D #7B2AD0 #9A5ADD

Accessibility & contrast

On white

9.73
#5D209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#5D209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D209D
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D209D#FFFFFF#000000##FFFFFF
##5D209D1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#4E425E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5d209d;
/* rgb */ color: rgb(93, 32, 157);
/* oklch */ color: oklch(41.0% 0.186 300.2);
Tailwind
colors: {
  custom: {
    50: '#9163bb',
    500: '#5d209d',
    950: '#000000',
  },
}
SCSS
$custom: #5d209d;
$custom-light: #9163bb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d209d",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 269.28,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41022,
    "c": 0.18571,
    "h": 300.2
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#5D209D
secondary
#8EC157
accent
#E93F96
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5D209D

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

Preview Lab → · Contrast checker → · Palette generator →

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