#5C206C#5C206C

#5C206C is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.0% C 0.135 H 318.5°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#5C206C
RGBrgb(92, 32, 108)
HSLhsl(287, 54%, 27%)
HSVhsv(287, 70%, 42%)
CMYKcmyk(14.8%, 70.4%, 0%, 57.6%)
CIE-LABlab(24.93, 39.35, -31.88)
CIE-LCHlch(24.93, 50.64, 320.99°)
OKLaboklab(36.99% 0.1008 -0.0893)
OKLCHoklch(36.99% 0.135 318.5)
XYZxyz(7.6366, 4.3914, 14.6298)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C206C #306C20
analogous
#36206C #5C206C #6C2056
triadic
#5C206C #6C5C20 #206C5C
tetradic
#5C206C #6C3620 #306C20 #20566C
square
#5C206C #6C3620 #306C20 #20566C
split-complementary
#5C206C #566C20 #206C36
monochromatic
#140718 #34123D #5C206C #842E9B #AA40C6

Accessibility & contrast

On white

11.18
#5C206C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C206C
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C206C#FFFFFF#000000##FFFFFF
##5C206C1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03376E
Deuteranopia (green-blind)
#243D6A
Tritanopia (blue-blind)
#5C2E43
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5c206c;
/* rgb */ color: rgb(92, 32, 108);
/* oklch */ color: oklch(37.0% 0.135 318.5);
Tailwind
colors: {
  custom: {
    50: '#8d6196',
    500: '#5c206c',
    950: '#000000',
  },
}
SCSS
$custom: #5c206c;
$custom-light: #8d6196;
$custom-dark: #000000;
JSON
{
  "hex": "#5c206c",
  "rgb": {
    "r": 92,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 287.368,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36991,
    "c": 0.13462,
    "h": 318.5
  },
  "luminance": 0.04391
}

Semantic roles & 50–950 ramp

primary
#5C206C
secondary
#5AA048
accent
#DE4A69
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #5C206C

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

Preview Lab → · Contrast checker → · Palette generator →

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