#5D206E#5D206E

#5D206E is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.3% C 0.137 H 318.1°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#5D206E
RGBrgb(93, 32, 110)
HSLhsl(287, 55%, 28%)
HSVhsv(287, 71%, 43%)
CMYKcmyk(15.5%, 70.9%, 0%, 56.9%)
CIE-LABlab(25.22, 40.03, -32.69)
CIE-LCHlch(25.22, 51.68, 320.77°)
OKLaboklab(37.28% 0.102 -0.0916)
OKLCHoklch(37.28% 0.137 318.1)
XYZxyz(7.8448, 4.4863, 15.2015)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D206E #316E20
analogous
#36206E #5D206E #6E2058
triadic
#5D206E #6E5D20 #206E5D
tetradic
#5D206E #6E3620 #316E20 #20586E
square
#5D206E #6E3620 #316E20 #20586E
split-complementary
#5D206E #586E20 #206E36
monochromatic
#140718 #35123F #5D206E #852E9D #AA41C8

Accessibility & contrast

On white

11.07
#5D206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#5D206E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D206E
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D206E#FFFFFF#000000##FFFFFF
##5D206E1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003870
Deuteranopia (green-blind)
#233E6C
Tritanopia (blue-blind)
#5D2F44
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5d206e;
/* rgb */ color: rgb(93, 32, 110);
/* oklch */ color: oklch(37.3% 0.137 318.1);
Tailwind
colors: {
  custom: {
    50: '#8e6198',
    500: '#5d206e',
    950: '#000000',
  },
}
SCSS
$custom: #5d206e;
$custom-light: #8e6198;
$custom-dark: #000000;
JSON
{
  "hex": "#5d206e",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 286.923,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37276,
    "c": 0.13711,
    "h": 318.1
  },
  "luminance": 0.04486
}

Semantic roles & 50–950 ramp

primary
#5D206E
secondary
#5CA248
accent
#DE4A6A
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0D050E
muted
#7D797E

Preview Lab

Preview with #5D206E

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

Preview Lab → · Contrast checker → · Palette generator →

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