#5D209F#5D209F

#5D209F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.188 H 299.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#5D209F
RGBrgb(93, 32, 159)
HSLhsl(269, 66%, 37%)
HSVhsv(269, 80%, 62%)
CMYKcmyk(41.5%, 79.9%, 0%, 37.6%)
CIE-LABlab(29.06, 51.52, -57.09)
CIE-LCHlch(29.06, 76.90, 312.06°)
OKLaboklab(41.2% 0.0927 -0.1633)
OKLCHoklch(41.2% 0.188 299.6)
XYZxyz(11.2871, 5.8632, 33.3312)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D209F #629F20
analogous
#20229F #5D209F #9D209F
triadic
#5D209F #9F5D20 #209F5D
tetradic
#5D209F #9F2022 #629F20 #209F9D
square
#5D209F #9F2022 #629F20 #209F9D
split-complementary
#5D209F #9F9D20 #229F20
monochromatic
#210B39 #3F166C #5D209F #7B2AD2 #9A5BDE

Accessibility & contrast

On white

9.67
#5D209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5D209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D209F
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D209F#FFFFFF#000000##FFFFFF
##5D209F1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#4D4360
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5d209f;
/* rgb */ color: rgb(93, 32, 159);
/* oklch */ color: oklch(41.2% 0.188 299.6);
Tailwind
colors: {
  custom: {
    50: '#9263bc',
    500: '#5d209f',
    950: '#000000',
  },
}
SCSS
$custom: #5d209f;
$custom-light: #9263bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d209f",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 268.819,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.412,
    "c": 0.18777,
    "h": 299.6
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

primary
#5D209F
secondary
#8FC259
accent
#E93E97
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5D209F

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

Preview Lab → · Contrast checker → · Palette generator →

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