#5C2AB6#5C2AB6

#5C2AB6 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.2% C 0.202 H 292.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#5C2AB6
RGBrgb(92, 42, 182)
HSLhsl(261, 63%, 44%)
HSVhsv(261, 77%, 71%)
CMYKcmyk(49.5%, 76.9%, 0%, 28.6%)
CIE-LABlab(32.50, 53.00, -65.29)
CIE-LCHlch(32.50, 84.09, 309.07°)
OKLaboklab(44.21% 0.0766 -0.1874)
OKLCHoklch(44.21% 0.202 292.2)
XYZxyz(13.6827, 7.3081, 44.9366)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2AB6 #84B62A
analogous
#2A3EB6 #5C2AB6 #A22AB6
triadic
#5C2AB6 #B65C2A #2AB65C
tetradic
#5C2AB6 #B62A3E #84B62A #2AB6A2
square
#5C2AB6 #B62A3E #84B62A #2AB6A2
split-complementary
#5C2AB6 #B6A22A #3EB62A
monochromatic
#2A1353 #431F84 #5C2AB6 #7B48D5 #9F7AE0

Accessibility & contrast

On white

8.53
#5C2AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5C2AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2AB6
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2AB6#FFFFFF#000000##FFFFFF
##5C2AB61.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBA
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#3F516F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5c2ab6;
/* rgb */ color: rgb(92, 42, 182);
/* oklch */ color: oklch(44.2% 0.202 292.2);
Tailwind
colors: {
  custom: {
    50: '#9369cd',
    500: '#5c2ab6',
    950: '#000000',
  },
}
SCSS
$custom: #5c2ab6;
$custom-light: #9369cd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2ab6",
  "rgb": {
    "r": 92,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 261.429,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44205,
    "c": 0.20249,
    "h": 292.2
  },
  "luminance": 0.07309
}

Semantic roles & 50–950 ramp

primary
#5C2AB6
secondary
#AAC873
accent
#E642AB
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5C2AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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