#5D208D#5D208D

#5D208D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.169 H 305.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#5D208D
RGBrgb(93, 32, 141)
HSLhsl(274, 63%, 34%)
HSVhsv(274, 77%, 55%)
CMYKcmyk(34%, 77.3%, 0%, 44.7%)
CIE-LABlab(27.53, 47.14, -48.55)
CIE-LCHlch(27.53, 67.67, 314.16°)
OKLaboklab(39.65% 0.0975 -0.1382)
OKLCHoklch(39.65% 0.169 305.2)
XYZxyz(9.8373, 5.2833, 25.6957)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D208D #508D20
analogous
#27208D #5D208D #8D2087
triadic
#5D208D #8D5D20 #208D5D
tetradic
#5D208D #8D2720 #508D20 #20878D
square
#5D208D #8D2720 #508D20 #20878D
split-complementary
#5D208D #878D20 #208D27
monochromatic
#1B0929 #3C155B #5D208D #7E2BBF #9C50D7

Accessibility & contrast

On white

10.21
#5D208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#5D208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D208D
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D208D#FFFFFF#000000##FFFFFF
##5D208D1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#543B55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5d208d;
/* rgb */ color: rgb(93, 32, 141);
/* oklch */ color: oklch(39.6% 0.169 305.2);
Tailwind
colors: {
  custom: {
    50: '#9062af',
    500: '#5d208d',
    950: '#000000',
  },
}
SCSS
$custom: #5d208d;
$custom-light: #9062af;
$custom-dark: #000000;
JSON
{
  "hex": "#5d208d",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 273.578,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39647,
    "c": 0.16911,
    "h": 305.2
  },
  "luminance": 0.05283
}

Semantic roles & 50–950 ramp

primary
#5D208D
secondary
#7EBA4E
accent
#E6428A
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5D208D

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

Preview Lab → · Contrast checker → · Palette generator →

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