#5C209D#5C209D

#5C209D is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.9% C 0.186 H 299.6°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#5C209D
RGBrgb(92, 32, 157)
HSLhsl(269, 66%, 37%)
HSVhsv(269, 80%, 62%)
CMYKcmyk(41.4%, 79.6%, 0%, 38.4%)
CIE-LABlab(28.75, 50.87, -56.39)
CIE-LCHlch(28.75, 75.94, 312.05°)
OKLaboklab(40.9% 0.0918 -0.1613)
OKLCHoklch(40.9% 0.186 299.6)
XYZxyz(11.0144, 5.7425, 32.4199)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C209D #619D20
analogous
#20229D #5C209D #9B209D
triadic
#5C209D #9D5C20 #209D5C
tetradic
#5C209D #9D2022 #619D20 #209D9B
square
#5C209D #9D2022 #619D20 #209D9B
split-complementary
#5C209D #9D9B20 #229D20
monochromatic
#200B37 #3E166A #5C209D #7A2AD0 #995ADD

Accessibility & contrast

On white

9.77
#5C209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#5C209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C209D
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C209D#FFFFFF#000000##FFFFFF
##5C209D1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#4C425E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5c209d;
/* rgb */ color: rgb(92, 32, 157);
/* oklch */ color: oklch(40.9% 0.186 299.6);
Tailwind
colors: {
  custom: {
    50: '#9163bb',
    500: '#5c209d',
    950: '#000000',
  },
}
SCSS
$custom: #5c209d;
$custom-light: #9163bb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c209d",
  "rgb": {
    "r": 92,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 268.8,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40899,
    "c": 0.18556,
    "h": 299.6
  },
  "luminance": 0.05743
}

Semantic roles & 50–950 ramp

primary
#5C209D
secondary
#8FC157
accent
#E93F97
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C209D

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

Preview Lab → · Contrast checker → · Palette generator →

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