#5C32BA#5C32BA

#5C32BA is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.199 H 290.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5C32BA
RGBrgb(92, 50, 186)
HSLhsl(259, 58%, 46%)
HSVhsv(259, 73%, 73%)
CMYKcmyk(50.5%, 73.1%, 0%, 27.1%)
CIE-LABlab(34.19, 50.29, -64.88)
CIE-LCHlch(34.19, 82.09, 307.78°)
OKLaboklab(45.51% 0.0691 -0.1863)
OKLCHoklch(45.51% 0.199 290.3)
XYZxyz(14.4146, 8.1011, 47.2490)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C32BA #90BA32
analogous
#324CBA #5C32BA #A032BA
triadic
#5C32BA #BA5C32 #32BA5C
tetradic
#5C32BA #BA324C #90BA32 #32BAA0
square
#5C32BA #BA324C #90BA32 #32BAA0
split-complementary
#5C32BA #BAA032 #4CBA32
monochromatic
#2C185A #44258A #5C32BA #7D57D2 #A288DF

Accessibility & contrast

On white

8.01
#5C32BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5C32BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C32BA
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C32BA#FFFFFF#000000##FFFFFF
##5C32BA1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#3B5673
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c32ba;
/* rgb */ color: rgb(92, 50, 186);
/* oklch */ color: oklch(45.5% 0.199 290.3);
Tailwind
colors: {
  custom: {
    50: '#936ed0',
    500: '#5c32ba',
    950: '#000000',
  },
}
SCSS
$custom: #5c32ba;
$custom-light: #936ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c32ba",
  "rgb": {
    "r": 92,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 258.529,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45506,
    "c": 0.19869,
    "h": 290.3
  },
  "luminance": 0.08102
}

Semantic roles & 50–950 ramp

primary
#5C32BA
secondary
#B2C97F
accent
#E147B1
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5C32BA

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

Preview Lab → · Contrast checker → · Palette generator →

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