#5C206D#5C206D

#5C206D is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.1% C 0.136 H 317.9°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#5C206D
RGBrgb(92, 32, 109)
HSLhsl(287, 55%, 28%)
HSVhsv(287, 71%, 43%)
CMYKcmyk(15.6%, 70.6%, 0%, 57.3%)
CIE-LABlab(24.99, 39.57, -32.42)
CIE-LCHlch(24.99, 51.15, 320.67°)
OKLaboklab(37.06% 0.1007 -0.0909)
OKLCHoklch(37.06% 0.136 317.9)
XYZxyz(7.6901, 4.4128, 14.9117)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C206D #316D20
analogous
#35206D #5C206D #6D2058
triadic
#5C206D #6D5C20 #206D5C
tetradic
#5C206D #6D3520 #316D20 #20586D
square
#5C206D #6D3520 #316D20 #20586D
split-complementary
#5C206D #586D20 #206D35
monochromatic
#140718 #34123E #5C206D #842E9C #A940C7

Accessibility & contrast

On white

11.16
#5C206D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#5C206D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C206D
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C206D#FFFFFF#000000##FFFFFF
##5C206D1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01376F
Deuteranopia (green-blind)
#233D6B
Tritanopia (blue-blind)
#5C2E44
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5c206d;
/* rgb */ color: rgb(92, 32, 109);
/* oklch */ color: oklch(37.1% 0.136 317.9);
Tailwind
colors: {
  custom: {
    50: '#8d6197',
    500: '#5c206d',
    950: '#000000',
  },
}
SCSS
$custom: #5c206d;
$custom-light: #8d6197;
$custom-dark: #000000;
JSON
{
  "hex": "#5c206d",
  "rgb": {
    "r": 92,
    "g": 32,
    "b": 109
  },
  "hsl": {
    "h": 286.753,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3706,
    "c": 0.13565,
    "h": 317.9
  },
  "luminance": 0.04412
}

Semantic roles & 50–950 ramp

primary
#5C206D
secondary
#5CA148
accent
#DE4A6B
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #5C206D

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

Preview Lab → · Contrast checker → · Palette generator →

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