#5C2CAC#5C2CAC

#5C2CAC is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.189 H 294.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#5C2CAC
RGBrgb(92, 44, 172)
HSLhsl(263, 59%, 42%)
HSVhsv(263, 74%, 67%)
CMYKcmyk(46.5%, 74.4%, 0%, 32.5%)
CIE-LABlab(31.93, 49.41, -60.25)
CIE-LCHlch(31.93, 77.92, 309.35°)
OKLaboklab(43.53% 0.0776 -0.1727)
OKLCHoklch(43.53% 0.189 294.2)
XYZxyz(12.7587, 7.0549, 39.7112)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2CAC #7CAC2C
analogous
#2C3CAC #5C2CAC #9C2CAC
triadic
#5C2CAC #AC5C2C #2CAC5C
tetradic
#5C2CAC #AC2C3C #7CAC2C #2CAC9C
square
#5C2CAC #AC2C3C #7CAC2C #2CAC9C
split-complementary
#5C2CAC #AC9C2C #3CAC2C
monochromatic
#28134B #42207B #5C2CAC #7946D0 #9C76DC

Accessibility & contrast

On white

8.71
#5C2CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5C2CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2CAC
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2CAC#FFFFFF#000000##FFFFFF
##5C2CAC1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#454E6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5c2cac;
/* rgb */ color: rgb(92, 44, 172);
/* oklch */ color: oklch(43.5% 0.189 294.2);
Tailwind
colors: {
  custom: {
    50: '#926ac6',
    500: '#5c2cac',
    950: '#000000',
  },
}
SCSS
$custom: #5c2cac;
$custom-light: #926ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2cac",
  "rgb": {
    "r": 92,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 262.5,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43534,
    "c": 0.18931,
    "h": 294.2
  },
  "luminance": 0.07055
}

Semantic roles & 50–950 ramp

primary
#5C2CAC
secondary
#A4C470
accent
#E245A8
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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