#5C32AB#5C32AB

#5C32AB is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.181 H 293.5°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#5C32AB
RGBrgb(92, 50, 171)
HSLhsl(261, 55%, 43%)
HSVhsv(261, 71%, 67%)
CMYKcmyk(46.2%, 70.8%, 0%, 32.9%)
CIE-LABlab(32.91, 46.15, -58.05)
CIE-LCHlch(32.91, 74.16, 308.48°)
OKLaboklab(44.2% 0.0722 -0.1663)
OKLCHoklch(44.2% 0.181 293.5)
XYZxyz(12.9029, 7.4964, 39.2873)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C32AB #81AB32
analogous
#3245AB #5C32AB #9832AB
triadic
#5C32AB #AB5C32 #32AB5C
tetradic
#5C32AB #AB3245 #81AB32 #32AB98
square
#5C32AB #AB3245 #81AB32 #32AB98
split-complementary
#5C32AB #AB9832 #45AB32
monochromatic
#29164C #43247C #5C32AB #7A4FCB #9E7ED9

Accessibility & contrast

On white

8.40
#5C32AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5C32AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C32AB
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C32AB#FFFFFF#000000##FFFFFF
##5C32AB1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#45516B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5c32ab;
/* rgb */ color: rgb(92, 50, 171);
/* oklch */ color: oklch(44.2% 0.181 293.5);
Tailwind
colors: {
  custom: {
    50: '#916dc5',
    500: '#5c32ab',
    950: '#000000',
  },
}
SCSS
$custom: #5c32ab;
$custom-light: #916dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c32ab",
  "rgb": {
    "r": 92,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 260.826,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44202,
    "c": 0.18128,
    "h": 293.5
  },
  "luminance": 0.07497
}

Semantic roles & 50–950 ramp

primary
#5C32AB
secondary
#A8C277
accent
#DE4AAB
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C32AB

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

Preview Lab → · Contrast checker → · Palette generator →

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