#5C2BBC#5C2BBC

#5C2BBC is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.9% C 0.208 H 290.9°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#5C2BBC
RGBrgb(92, 43, 188)
HSLhsl(260, 63%, 45%)
HSVhsv(260, 77%, 74%)
CMYKcmyk(51.1%, 77.1%, 0%, 26.3%)
CIE-LABlab(33.21, 54.15, -67.67)
CIE-LCHlch(33.21, 86.67, 308.67°)
OKLaboklab(44.87% 0.0741 -0.1944)
OKLCHoklch(44.87% 0.208 290.9)
XYZxyz(14.3520, 7.6333, 48.2844)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2BBC #8BBC2B
analogous
#2B42BC #5C2BBC #A52BBC
triadic
#5C2BBC #BC5C2B #2BBC5C
tetradic
#5C2BBC #BC2B42 #8BBC2B #2BBCA5
square
#5C2BBC #BC2B42 #8BBC2B #2BBCA5
split-complementary
#5C2BBC #BCA52B #42BC2B
monochromatic
#2B1458 #44208A #5C2BBC #7C4ED6 #A180E2

Accessibility & contrast

On white

8.31
#5C2BBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5C2BBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2BBC
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2BBC#FFFFFF#000000##FFFFFF
##5C2BBC1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#3A5473
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5c2bbc;
/* rgb */ color: rgb(92, 43, 188);
/* oklch */ color: oklch(44.9% 0.208 290.9);
Tailwind
colors: {
  custom: {
    50: '#946ad1',
    500: '#5c2bbc',
    950: '#000000',
  },
}
SCSS
$custom: #5c2bbc;
$custom-light: #946ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2bbc",
  "rgb": {
    "r": 92,
    "g": 43,
    "b": 188
  },
  "hsl": {
    "h": 260.276,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44869,
    "c": 0.2081,
    "h": 290.9
  },
  "luminance": 0.07634
}

Semantic roles & 50–950 ramp

primary
#5C2BBC
secondary
#AFCB78
accent
#E642AE
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5C2BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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