#5C216F#5C216F

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

Color values

HEX#5C216F
RGBrgb(92, 33, 111)
HSLhsl(285, 54%, 28%)
HSVhsv(285, 70%, 44%)
CMYKcmyk(17.1%, 70.3%, 0%, 56.5%)
CIE-LABlab(25.29, 39.54, -33.22)
CIE-LCHlch(25.29, 51.64, 319.96°)
OKLaboklab(37.32% 0.0994 -0.0932)
OKLCHoklch(37.32% 0.136 316.8)
XYZxyz(7.8263, 4.5110, 15.4943)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C216F #346F21
analogous
#35216F #5C216F #6F215B
triadic
#5C216F #6F5C21 #216F5C
tetradic
#5C216F #6F3521 #346F21 #215B6F
square
#5C216F #6F3521 #346F21 #215B6F
split-complementary
#5C216F #5B6F21 #216F35
monochromatic
#140718 #351340 #5C216F #832F9E #A743C7

Accessibility & contrast

On white

11.04
#5C216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C216F
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C216F#FFFFFF#000000##FFFFFF
##5C216F1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#223E6D
Tritanopia (blue-blind)
#5B3045
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5c216f;
/* rgb */ color: rgb(92, 33, 111);
/* oklch */ color: oklch(37.3% 0.136 316.8);
Tailwind
colors: {
  custom: {
    50: '#8d6199',
    500: '#5c216f',
    950: '#000000',
  },
}
SCSS
$custom: #5c216f;
$custom-light: #8d6199;
$custom-dark: #000000;
JSON
{
  "hex": "#5c216f",
  "rgb": {
    "r": 92,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 285.385,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37319,
    "c": 0.13627,
    "h": 316.8
  },
  "luminance": 0.04511
}

Semantic roles & 50–950 ramp

primary
#5C216F
secondary
#5FA349
accent
#DE4A6E
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #5C216F

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

Preview Lab → · Contrast checker → · Palette generator →

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