#5C2CC0#5C2CC0

#5C2CC0 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.4% C 0.212 H 290.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#5C2CC0
RGBrgb(92, 44, 192)
HSLhsl(259, 63%, 46%)
HSVhsv(259, 77%, 75%)
CMYKcmyk(52.1%, 77.1%, 0%, 24.7%)
CIE-LABlab(33.74, 54.78, -69.16)
CIE-LCHlch(33.74, 88.23, 308.38°)
OKLaboklab(45.35% 0.0723 -0.1988)
OKLCHoklch(45.35% 0.212 290)
XYZxyz(14.8260, 7.8818, 50.5991)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2CC0 #90C02C
analogous
#2C46C0 #5C2CC0 #A62CC0
triadic
#5C2CC0 #C05C2C #2CC05C
tetradic
#5C2CC0 #C02C46 #90C02C #2CC0A6
square
#5C2CC0 #C02C46 #90C02C #2CC0A6
split-complementary
#5C2CC0 #C0A62C #46C02C
monochromatic
#2C155C #44218E #5C2CC0 #7D52D7 #A284E3

Accessibility & contrast

On white

8.15
#5C2CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5C2CC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2CC0
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2CC0#FFFFFF#000000##FFFFFF
##5C2CC01.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C4
Deuteranopia (green-blind)
#004CBD
Tritanopia (blue-blind)
#375675
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5c2cc0;
/* rgb */ color: rgb(92, 44, 192);
/* oklch */ color: oklch(45.4% 0.212 290.0);
Tailwind
colors: {
  custom: {
    50: '#956bd4',
    500: '#5c2cc0',
    950: '#000000',
  },
}
SCSS
$custom: #5c2cc0;
$custom-light: #956bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2cc0",
  "rgb": {
    "r": 92,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 259.459,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45351,
    "c": 0.21153,
    "h": 290
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

primary
#5C2CC0
secondary
#B2CC7C
accent
#E642B1
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5C2CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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