#5C32BB#5C32BB

#5C32BB is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.200 H 290.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#5C32BB
RGBrgb(92, 50, 187)
HSLhsl(258, 58%, 46%)
HSVhsv(258, 73%, 73%)
CMYKcmyk(50.8%, 73.3%, 0%, 26.7%)
CIE-LABlab(34.28, 50.57, -65.32)
CIE-LCHlch(34.28, 82.61, 307.74°)
OKLaboklab(45.6% 0.0688 -0.1876)
OKLCHoklch(45.6% 0.2 290.1)
XYZxyz(14.5213, 8.1438, 47.8108)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C32BB #91BB32
analogous
#324DBB #5C32BB #A132BB
triadic
#5C32BB #BB5C32 #32BB5C
tetradic
#5C32BB #BB324D #91BB32 #32BBA1
square
#5C32BB #BB324D #91BB32 #32BBA1
split-complementary
#5C32BB #BBA132 #4DBB32
monochromatic
#2C185A #44258B #5C32BB #7D58D2 #A388DF

Accessibility & contrast

On white

7.99
#5C32BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5C32BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C32BB
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C32BB#FFFFFF#000000##FFFFFF
##5C32BB1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#3B5774
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5c32bb;
/* rgb */ color: rgb(92, 50, 187);
/* oklch */ color: oklch(45.6% 0.200 290.1);
Tailwind
colors: {
  custom: {
    50: '#936ed1',
    500: '#5c32bb',
    950: '#000000',
  },
}
SCSS
$custom: #5c32bb;
$custom-light: #936ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c32bb",
  "rgb": {
    "r": 92,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 258.394,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45595,
    "c": 0.19984,
    "h": 290.1
  },
  "luminance": 0.08144
}

Semantic roles & 50–950 ramp

primary
#5C32BB
secondary
#B3C980
accent
#E147B2
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5C32BB

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

Preview Lab → · Contrast checker → · Palette generator →

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