#5C208D#5C208D

#5C208D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.169 H 304.6°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#5C208D
RGBrgb(92, 32, 141)
HSLhsl(273, 63%, 34%)
HSVhsv(273, 77%, 55%)
CMYKcmyk(34.8%, 77.3%, 0%, 44.7%)
CIE-LABlab(27.38, 46.95, -48.79)
CIE-LCHlch(27.38, 67.71, 313.90°)
OKLaboklab(39.52% 0.096 -0.1389)
OKLCHoklch(39.52% 0.169 304.6)
XYZxyz(9.7368, 5.2315, 25.6910)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C208D #518D20
analogous
#26208D #5C208D #8D2088
triadic
#5C208D #8D5C20 #208D5C
tetradic
#5C208D #8D2620 #518D20 #20888D
square
#5C208D #8D2620 #518D20 #20888D
split-complementary
#5C208D #888D20 #208D26
monochromatic
#1B0929 #3B155B #5C208D #7D2BBF #9B50D7

Accessibility & contrast

On white

10.26
#5C208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#5C208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C208D
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C208D#FFFFFF#000000##FFFFFF
##5C208D1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#533B55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5c208d;
/* rgb */ color: rgb(92, 32, 141);
/* oklch */ color: oklch(39.5% 0.169 304.6);
Tailwind
colors: {
  custom: {
    50: '#8f62af',
    500: '#5c208d',
    950: '#000000',
  },
}
SCSS
$custom: #5c208d;
$custom-light: #8f62af;
$custom-dark: #000000;
JSON
{
  "hex": "#5c208d",
  "rgb": {
    "r": 92,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 273.028,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39516,
    "c": 0.16888,
    "h": 304.6
  },
  "luminance": 0.05231
}

Semantic roles & 50–950 ramp

primary
#5C208D
secondary
#7FBA4E
accent
#E6428C
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5C208D

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

Preview Lab → · Contrast checker → · Palette generator →

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