#5C208E#5C208E

#5C208E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.170 H 304.3°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#5C208E
RGBrgb(92, 32, 142)
HSLhsl(273, 63%, 34%)
HSVhsv(273, 77%, 56%)
CMYKcmyk(35.2%, 77.5%, 0%, 44.3%)
CIE-LABlab(27.47, 47.19, -49.27)
CIE-LCHlch(27.47, 68.23, 313.77°)
OKLaboklab(39.6% 0.0958 -0.1404)
OKLCHoklch(39.6% 0.17 304.3)
XYZxyz(9.8115, 5.2614, 26.0846)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C208E #528E20
analogous
#25208E #5C208E #8E2089
triadic
#5C208E #8E5C20 #208E5C
tetradic
#5C208E #8E2520 #528E20 #20898E
square
#5C208E #8E2520 #528E20 #20898E
split-complementary
#5C208E #898E20 #208E25
monochromatic
#1B092A #3C155C #5C208E #7C2BC0 #9A51D8

Accessibility & contrast

On white

10.23
#5C208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C208E
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C208E#FFFFFF#000000##FFFFFF
##5C208E1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#523C56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5c208e;
/* rgb */ color: rgb(92, 32, 142);
/* oklch */ color: oklch(39.6% 0.170 304.3);
Tailwind
colors: {
  custom: {
    50: '#8f62b0',
    500: '#5c208e',
    950: '#000000',
  },
}
SCSS
$custom: #5c208e;
$custom-light: #8f62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c208e",
  "rgb": {
    "r": 92,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 272.727,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.396,
    "c": 0.16993,
    "h": 304.3
  },
  "luminance": 0.05261
}

Semantic roles & 50–950 ramp

primary
#5C208E
secondary
#80BB4F
accent
#E6428C
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #5C208E

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

Preview Lab → · Contrast checker → · Palette generator →

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