#5C206E#5C206E

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

Color values

HEX#5C206E
RGBrgb(92, 32, 110)
HSLhsl(286, 55%, 28%)
HSVhsv(286, 71%, 43%)
CMYKcmyk(16.4%, 70.9%, 0%, 56.9%)
CIE-LABlab(25.06, 39.79, -32.95)
CIE-LCHlch(25.06, 51.66, 320.37°)
OKLaboklab(37.13% 0.1007 -0.0924)
OKLCHoklch(37.13% 0.137 317.4)
XYZxyz(7.7442, 4.4344, 15.1968)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C206E #326E20
analogous
#35206E #5C206E #6E2059
triadic
#5C206E #6E5C20 #206E5C
tetradic
#5C206E #6E3520 #326E20 #20596E
square
#5C206E #6E3520 #326E20 #20596E
split-complementary
#5C206E #596E20 #206E35
monochromatic
#140718 #34123F #5C206E #842E9D #A941C8

Accessibility & contrast

On white

11.13
#5C206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#5C206E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C206E
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C206E#FFFFFF#000000##FFFFFF
##5C206E1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003870
Deuteranopia (green-blind)
#223D6C
Tritanopia (blue-blind)
#5B2F44
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5c206e;
/* rgb */ color: rgb(92, 32, 110);
/* oklch */ color: oklch(37.1% 0.137 317.4);
Tailwind
colors: {
  custom: {
    50: '#8d6198',
    500: '#5c206e',
    950: '#000000',
  },
}
SCSS
$custom: #5c206e;
$custom-light: #8d6198;
$custom-dark: #000000;
JSON
{
  "hex": "#5c206e",
  "rgb": {
    "r": 92,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 286.154,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37129,
    "c": 0.13667,
    "h": 317.4
  },
  "luminance": 0.04434
}

Semantic roles & 50–950 ramp

primary
#5C206E
secondary
#5DA248
accent
#DE4A6C
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #5C206E

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

Preview Lab → · Contrast checker → · Palette generator →

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