#5D208F#5D208F

#5D208F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.171 H 304.5°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#5D208F
RGBrgb(93, 32, 143)
HSLhsl(273, 63%, 34%)
HSVhsv(273, 78%, 56%)
CMYKcmyk(35%, 77.6%, 0%, 43.9%)
CIE-LABlab(27.69, 47.62, -49.52)
CIE-LCHlch(27.69, 68.70, 313.88°)
OKLaboklab(39.81% 0.097 -0.141)
OKLCHoklch(39.81% 0.171 304.5)
XYZxyz(9.9875, 5.3434, 26.4865)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D208F #528F20
analogous
#26208F #5D208F #8F208A
triadic
#5D208F #8F5D20 #208F5D
tetradic
#5D208F #8F2620 #528F20 #208A8F
square
#5D208F #8F2620 #528F20 #208A8F
split-complementary
#5D208F #8A8F20 #208F26
monochromatic
#1C0A2B #3C155D #5D208F #7E2BC1 #9B51D8

Accessibility & contrast

On white

10.15
#5D208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#5D208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D208F
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D208F#FFFFFF#000000##FFFFFF
##5D208F1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#533C56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5d208f;
/* rgb */ color: rgb(93, 32, 143);
/* oklch */ color: oklch(39.8% 0.171 304.5);
Tailwind
colors: {
  custom: {
    50: '#9062b1',
    500: '#5d208f',
    950: '#000000',
  },
}
SCSS
$custom: #5d208f;
$custom-light: #9062b1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d208f",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 272.973,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39814,
    "c": 0.1712,
    "h": 304.5
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#5D208F
secondary
#80BB4F
accent
#E6418C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #5D208F

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

Preview Lab → · Contrast checker → · Palette generator →

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