#5C2AC0#5C2AC0

#5C2AC0 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.1% C 0.213 H 290.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#5C2AC0
RGBrgb(92, 42, 192)
HSLhsl(260, 64%, 46%)
HSVhsv(260, 78%, 75%)
CMYKcmyk(52.1%, 78.1%, 0%, 24.7%)
CIE-LABlab(33.43, 55.66, -69.67)
CIE-LCHlch(33.43, 89.17, 308.62°)
OKLaboklab(45.14% 0.0737 -0.2003)
OKLCHoklch(45.14% 0.213 290.2)
XYZxyz(14.7533, 7.7364, 50.5749)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2AC0 #8EC02A
analogous
#2A43C0 #5C2AC0 #A72AC0
triadic
#5C2AC0 #C05C2A #2AC05C
tetradic
#5C2AC0 #C02A43 #8EC02A #2AC0A7
square
#5C2AC0 #C02A43 #8EC02A #2AC0A7
split-complementary
#5C2AC0 #C0A72A #43C02A
monochromatic
#2C145C #441F8E #5C2AC0 #7D4FD8 #A281E3

Accessibility & contrast

On white

8.24
#5C2AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5C2AC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2AC0
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2AC0#FFFFFF#000000##FFFFFF
##5C2AC01.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C4
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#375575
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5c2ac0;
/* rgb */ color: rgb(92, 42, 192);
/* oklch */ color: oklch(45.1% 0.213 290.2);
Tailwind
colors: {
  custom: {
    50: '#956ad4',
    500: '#5c2ac0',
    950: '#000000',
  },
}
SCSS
$custom: #5c2ac0;
$custom-light: #956ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2ac0",
  "rgb": {
    "r": 92,
    "g": 42,
    "b": 192
  },
  "hsl": {
    "h": 260,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45136,
    "c": 0.2134,
    "h": 290.2
  },
  "luminance": 0.07737
}

Semantic roles & 50–950 ramp

primary
#5C2AC0
secondary
#B1CC7A
accent
#E741B0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5C2AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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