#5C2DAD#5C2DAD

#5C2DAD is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.189 H 293.8°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#5C2DAD
RGBrgb(92, 45, 173)
HSLhsl(262, 59%, 43%)
HSVhsv(262, 74%, 68%)
CMYKcmyk(46.8%, 74%, 0%, 32.2%)
CIE-LABlab(32.19, 49.20, -60.43)
CIE-LCHlch(32.19, 77.93, 309.15°)
OKLaboklab(43.74% 0.0764 -0.1732)
OKLCHoklch(43.74% 0.189 293.8)
XYZxyz(12.8928, 7.1688, 40.2315)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2DAD #7EAD2D
analogous
#2D3EAD #5C2DAD #9C2DAD
triadic
#5C2DAD #AD5C2D #2DAD5C
tetradic
#5C2DAD #AD2D3E #7EAD2D #2DAD9C
square
#5C2DAD #AD2D3E #7EAD2D #2DAD9C
split-complementary
#5C2DAD #AD9C2D #3EAD2D
monochromatic
#28144C #42207C #5C2DAD #7A48CF #9D78DC

Accessibility & contrast

On white

8.63
#5C2DAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5C2DAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2DAD
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2DAD#FFFFFF#000000##FFFFFF
##5C2DAD1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#444F6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5c2dad;
/* rgb */ color: rgb(92, 45, 173);
/* oklch */ color: oklch(43.7% 0.189 293.8);
Tailwind
colors: {
  custom: {
    50: '#926bc6',
    500: '#5c2dad',
    950: '#000000',
  },
}
SCSS
$custom: #5c2dad;
$custom-light: #926bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2dad",
  "rgb": {
    "r": 92,
    "g": 45,
    "b": 173
  },
  "hsl": {
    "h": 262.031,
    "s": 58.716,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43742,
    "c": 0.18935,
    "h": 293.8
  },
  "luminance": 0.07169
}

Semantic roles & 50–950 ramp

primary
#5C2DAD
secondary
#A6C472
accent
#E246A9
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C2DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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