#5C2AB8#5C2AB8

#5C2AB8 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.4% C 0.205 H 291.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#5C2AB8
RGBrgb(92, 42, 184)
HSLhsl(261, 63%, 44%)
HSVhsv(261, 77%, 72%)
CMYKcmyk(50%, 77.2%, 0%, 27.8%)
CIE-LABlab(32.68, 53.54, -66.17)
CIE-LCHlch(32.68, 85.12, 308.97°)
OKLaboklab(44.39% 0.076 -0.19)
OKLCHoklch(44.39% 0.205 291.8)
XYZxyz(13.8909, 7.3914, 46.0329)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2AB8 #86B82A
analogous
#2A3FB8 #5C2AB8 #A32AB8
triadic
#5C2AB8 #B85C2A #2AB85C
tetradic
#5C2AB8 #B82A3F #86B82A #2AB8A3
square
#5C2AB8 #B82A3F #86B82A #2AB8A3
split-complementary
#5C2AB8 #B8A32A #3FB82A
monochromatic
#2A1354 #431F86 #5C2AB8 #7B4AD6 #9F7BE1

Accessibility & contrast

On white

8.47
#5C2AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5C2AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2AB8
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2AB8#FFFFFF#000000##FFFFFF
##5C2AB81.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#3D5270
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5c2ab8;
/* rgb */ color: rgb(92, 42, 184);
/* oklch */ color: oklch(44.4% 0.205 291.8);
Tailwind
colors: {
  custom: {
    50: '#9469ce',
    500: '#5c2ab8',
    950: '#000000',
  },
}
SCSS
$custom: #5c2ab8;
$custom-light: #9469ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2ab8",
  "rgb": {
    "r": 92,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 261.127,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44389,
    "c": 0.20468,
    "h": 291.8
  },
  "luminance": 0.07392
}

Semantic roles & 50–950 ramp

primary
#5C2AB8
secondary
#ABC975
accent
#E642AC
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5C2AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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