#5C208A#5C208A

#5C208A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.166 H 305.7°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#5C208A
RGBrgb(92, 32, 138)
HSLhsl(274, 62%, 33%)
HSVhsv(274, 77%, 54%)
CMYKcmyk(33.3%, 76.8%, 0%, 45.9%)
CIE-LABlab(27.14, 46.23, -47.32)
CIE-LCHlch(27.14, 66.15, 314.33°)
OKLaboklab(39.27% 0.0967 -0.1346)
OKLCHoklch(39.27% 0.166 305.7)
XYZxyz(9.5166, 5.1434, 24.5313)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C208A #4E8A20
analogous
#27208A #5C208A #8A2083
triadic
#5C208A #8A5C20 #208A5C
tetradic
#5C208A #8A2720 #4E8A20 #20838A
square
#5C208A #8A2720 #4E8A20 #20838A
split-complementary
#5C208A #838A20 #208A27
monochromatic
#1A0927 #3B1458 #5C208A #7D2CBC #9B4ED6

Accessibility & contrast

On white

10.35
#5C208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#5C208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C208A
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C208A#FFFFFF#000000##FFFFFF
##5C208A1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#543A54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5c208a;
/* rgb */ color: rgb(92, 32, 138);
/* oklch */ color: oklch(39.3% 0.166 305.7);
Tailwind
colors: {
  custom: {
    50: '#8f62ad',
    500: '#5c208a',
    950: '#000000',
  },
}
SCSS
$custom: #5c208a;
$custom-light: #8f62ad;
$custom-dark: #000000;
JSON
{
  "hex": "#5c208a",
  "rgb": {
    "r": 92,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 273.962,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39267,
    "c": 0.16575,
    "h": 305.7
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#5C208A
secondary
#7CB94D
accent
#E54289
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5C208A

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

Preview Lab → · Contrast checker → · Palette generator →

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