#5D208A#5D208A

#5D208A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.166 H 306.2°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#5D208A
RGBrgb(93, 32, 138)
HSLhsl(275, 62%, 33%)
HSVhsv(275, 77%, 54%)
CMYKcmyk(32.6%, 76.8%, 0%, 45.9%)
CIE-LABlab(27.28, 46.42, -47.08)
CIE-LCHlch(27.28, 66.12, 314.60°)
OKLaboklab(39.4% 0.0982 -0.1339)
OKLCHoklch(39.4% 0.166 306.2)
XYZxyz(9.6172, 5.1953, 24.5360)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D208A #4D8A20
analogous
#28208A #5D208A #8A2082
triadic
#5D208A #8A5D20 #208A5D
tetradic
#5D208A #8A2820 #4D8A20 #20828A
square
#5D208A #8A2820 #4D8A20 #20828A
split-complementary
#5D208A #828A20 #208A28
monochromatic
#1A0927 #3C1458 #5D208A #7E2CBC #9C4ED6

Accessibility & contrast

On white

10.30
#5D208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D208A
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D208A#FFFFFF#000000##FFFFFF
##5D208A1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#553A54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5d208a;
/* rgb */ color: rgb(93, 32, 138);
/* oklch */ color: oklch(39.4% 0.166 306.2);
Tailwind
colors: {
  custom: {
    50: '#9062ad',
    500: '#5d208a',
    950: '#000000',
  },
}
SCSS
$custom: #5d208a;
$custom-light: #9062ad;
$custom-dark: #000000;
JSON
{
  "hex": "#5d208a",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 274.528,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.394,
    "c": 0.166,
    "h": 306.2
  },
  "luminance": 0.05195
}

Semantic roles & 50–950 ramp

primary
#5D208A
secondary
#7BB94D
accent
#E54288
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5D208A

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

Preview Lab → · Contrast checker → · Palette generator →

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