#5C209B#5C209B

#5C209B is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.183 H 300.2°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#5C209B
RGBrgb(92, 32, 155)
HSLhsl(269, 66%, 37%)
HSVhsv(269, 79%, 61%)
CMYKcmyk(40.6%, 79.4%, 0%, 39.2%)
CIE-LABlab(28.58, 50.37, -55.46)
CIE-LCHlch(28.58, 74.92, 312.25°)
OKLaboklab(40.72% 0.0924 -0.1585)
OKLCHoklch(40.72% 0.183 300.2)
XYZxyz(10.8451, 5.6748, 31.5280)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C209B #5F9B20
analogous
#20229B #5C209B #9A209B
triadic
#5C209B #9B5C20 #209B5C
tetradic
#5C209B #9B2022 #5F9B20 #209B9A
square
#5C209B #9B2022 #5F9B20 #209B9A
split-complementary
#5C209B #9B9A20 #229B20
monochromatic
#200B36 #3E1668 #5C209B #7A2ACE #9959DD

Accessibility & contrast

On white

9.84
#5C209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#5C209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C209B
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C209B#FFFFFF#000000##FFFFFF
##5C209B1.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#4D415D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5c209b;
/* rgb */ color: rgb(92, 32, 155);
/* oklch */ color: oklch(40.7% 0.183 300.2);
Tailwind
colors: {
  custom: {
    50: '#9163b9',
    500: '#5c209b',
    950: '#000000',
  },
}
SCSS
$custom: #5c209b;
$custom-light: #9163b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c209b",
  "rgb": {
    "r": 92,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 269.268,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40722,
    "c": 0.18348,
    "h": 300.2
  },
  "luminance": 0.05675
}

Semantic roles & 50–950 ramp

primary
#5C209B
secondary
#8DC156
accent
#E93F96
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C209B

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

Preview Lab → · Contrast checker → · Palette generator →

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