#5C208C#5C208C

#5C208C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.168 H 305.0°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#5C208C
RGBrgb(92, 32, 140)
HSLhsl(273, 63%, 34%)
HSVhsv(273, 77%, 55%)
CMYKcmyk(34.3%, 77.1%, 0%, 45.1%)
CIE-LABlab(27.30, 46.71, -48.30)
CIE-LCHlch(27.30, 67.19, 314.04°)
OKLaboklab(39.43% 0.0963 -0.1375)
OKLCHoklch(39.43% 0.168 305)
XYZxyz(9.6627, 5.2018, 25.3009)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C208C #508C20
analogous
#26208C #5C208C #8C2086
triadic
#5C208C #8C5C20 #208C5C
tetradic
#5C208C #8C2620 #508C20 #20868C
square
#5C208C #8C2620 #508C20 #20868C
split-complementary
#5C208C #868C20 #208C26
monochromatic
#1B0928 #3B155A #5C208C #7D2BBE #9B50D7

Accessibility & contrast

On white

10.29
#5C208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#5C208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C208C
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C208C#FFFFFF#000000##FFFFFF
##5C208C1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#533B55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5c208c;
/* rgb */ color: rgb(92, 32, 140);
/* oklch */ color: oklch(39.4% 0.168 305.0);
Tailwind
colors: {
  custom: {
    50: '#8f62ae',
    500: '#5c208c',
    950: '#000000',
  },
}
SCSS
$custom: #5c208c;
$custom-light: #8f62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#5c208c",
  "rgb": {
    "r": 92,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 273.333,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39433,
    "c": 0.16784,
    "h": 305
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#5C208C
secondary
#7EBA4E
accent
#E6428B
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5C208C

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

Preview Lab → · Contrast checker → · Palette generator →

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