#5D209A#5D209A

#5D209A is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.183 H 301.0°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#5D209A
RGBrgb(93, 32, 154)
HSLhsl(270, 66%, 36%)
HSVhsv(270, 79%, 60%)
CMYKcmyk(39.6%, 79.2%, 0%, 39.6%)
CIE-LABlab(28.62, 50.29, -54.76)
CIE-LCHlch(28.62, 74.35, 312.56°)
OKLaboklab(40.76% 0.0942 -0.1564)
OKLCHoklch(40.76% 0.183 301)
XYZxyz(10.8620, 5.6932, 31.0922)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D209A #5D9A20
analogous
#20209A #5D209A #9A209A
triadic
#5D209A #9A5D20 #209A5D
tetradic
#5D209A #9A2020 #5D9A20 #209A9A
square
#5D209A #9A2020 #5D9A20 #209A9A
split-complementary
#5D209A #9A9A20 #209A20
monochromatic
#200B35 #3E1567 #5D209A #7C2BCD #9A58DC

Accessibility & contrast

On white

9.82
#5D209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#5D209A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D209A
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D209A#FFFFFF#000000##FFFFFF
##5D209A1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#4F415D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5d209a;
/* rgb */ color: rgb(93, 32, 154);
/* oklch */ color: oklch(40.8% 0.183 301.0);
Tailwind
colors: {
  custom: {
    50: '#9163b9',
    500: '#5d209a',
    950: '#000000',
  },
}
SCSS
$custom: #5d209a;
$custom-light: #9163b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d209a",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 270,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40758,
    "c": 0.1826,
    "h": 301
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

primary
#5D209A
secondary
#8BC056
accent
#E93F94
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5D209A

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

Preview Lab → · Contrast checker → · Palette generator →

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