#5C32B2#5C32B2

#5C32B2 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.189 H 292.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#5C32B2
RGBrgb(92, 50, 178)
HSLhsl(260, 56%, 45%)
HSVhsv(260, 72%, 70%)
CMYKcmyk(48.3%, 71.9%, 0%, 30.2%)
CIE-LABlab(33.50, 48.08, -61.27)
CIE-LCHlch(33.50, 77.88, 308.12°)
OKLaboklab(44.8% 0.0708 -0.1757)
OKLCHoklch(44.8% 0.189 292)
XYZxyz(13.5879, 7.7704, 42.8947)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C32B2 #88B232
analogous
#3248B2 #5C32B2 #9C32B2
triadic
#5C32B2 #B25C32 #32B25C
tetradic
#5C32B2 #B23248 #88B232 #32B29C
square
#5C32B2 #B23248 #88B232 #32B29C
split-complementary
#5C32B2 #B29C32 #48B232
monochromatic
#2B1752 #432582 #5C32B2 #7B53CF #A082DC

Accessibility & contrast

On white

8.22
#5C32B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C32B2
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C32B2#FFFFFF#000000##FFFFFF
##5C32B21.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#41536F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5c32b2;
/* rgb */ color: rgb(92, 50, 178);
/* oklch */ color: oklch(44.8% 0.189 292.0);
Tailwind
colors: {
  custom: {
    50: '#926eca',
    500: '#5c32b2',
    950: '#000000',
  },
}
SCSS
$custom: #5c32b2;
$custom-light: #926eca;
$custom-dark: #000000;
JSON
{
  "hex": "#5c32b2",
  "rgb": {
    "r": 92,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 259.688,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44802,
    "c": 0.18945,
    "h": 292
  },
  "luminance": 0.07771
}

Semantic roles & 50–950 ramp

primary
#5C32B2
secondary
#ADC57B
accent
#DF48AE
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C32B2

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

Preview Lab → · Contrast checker → · Palette generator →

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