#5C2AB3#5C2AB3

#5C2AB3 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.199 H 292.9°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#5C2AB3
RGBrgb(92, 42, 179)
HSLhsl(262, 62%, 43%)
HSVhsv(262, 77%, 70%)
CMYKcmyk(48.6%, 76.5%, 0%, 29.8%)
CIE-LABlab(32.23, 52.21, -63.95)
CIE-LCHlch(32.23, 82.56, 309.23°)
OKLaboklab(43.93% 0.0774 -0.1835)
OKLCHoklch(43.93% 0.199 292.9)
XYZxyz(13.3760, 7.1855, 43.3212)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2AB3 #81B32A
analogous
#2A3CB3 #5C2AB3 #A02AB3
triadic
#5C2AB3 #B35C2A #2AB35C
tetradic
#5C2AB3 #B32A3C #81B32A #2AB3A0
square
#5C2AB3 #B32A3C #81B32A #2AB3A0
split-complementary
#5C2AB3 #B3A02A #3CB32A
monochromatic
#291350 #431E81 #5C2AB3 #7A46D4 #9E78DF

Accessibility & contrast

On white

8.62
#5C2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5C2AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2AB3
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2AB3#FFFFFF#000000##FFFFFF
##5C2AB31.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#40506D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5c2ab3;
/* rgb */ color: rgb(92, 42, 179);
/* oklch */ color: oklch(43.9% 0.199 292.9);
Tailwind
colors: {
  custom: {
    50: '#9369cb',
    500: '#5c2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #5c2ab3;
$custom-light: #9369cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2ab3",
  "rgb": {
    "r": 92,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 261.898,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43931,
    "c": 0.1992,
    "h": 292.9
  },
  "luminance": 0.07186
}

Semantic roles & 50–950 ramp

primary
#5C2AB3
secondary
#A8C772
accent
#E543AA
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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