#5C32BC#5C32BC

#5C32BC is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.7% C 0.201 H 290.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#5C32BC
RGBrgb(92, 50, 188)
HSLhsl(258, 58%, 47%)
HSVhsv(258, 73%, 74%)
CMYKcmyk(51.1%, 73.4%, 0%, 26.3%)
CIE-LABlab(34.37, 50.85, -65.77)
CIE-LCHlch(34.37, 83.13, 307.71°)
OKLaboklab(45.68% 0.0686 -0.1889)
OKLCHoklch(45.68% 0.201 290)
XYZxyz(14.6287, 8.1867, 48.3766)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C32BC #92BC32
analogous
#324DBC #5C32BC #A132BC
triadic
#5C32BC #BC5C32 #32BC5C
tetradic
#5C32BC #BC324D #92BC32 #32BCA1
square
#5C32BC #BC324D #92BC32 #32BCA1
split-complementary
#5C32BC #BCA132 #4DBC32
monochromatic
#2D185B #44258C #5C32BC #7E58D3 #A389E0

Accessibility & contrast

On white

7.96
#5C32BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5C32BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C32BC
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C32BC#FFFFFF#000000##FFFFFF
##5C32BC1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#3A5774
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5c32bc;
/* rgb */ color: rgb(92, 50, 188);
/* oklch */ color: oklch(45.7% 0.201 290.0);
Tailwind
colors: {
  custom: {
    50: '#946ed1',
    500: '#5c32bc',
    950: '#000000',
  },
}
SCSS
$custom: #5c32bc;
$custom-light: #946ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c32bc",
  "rgb": {
    "r": 92,
    "g": 50,
    "b": 188
  },
  "hsl": {
    "h": 258.261,
    "s": 57.983,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45685,
    "c": 0.20098,
    "h": 290
  },
  "luminance": 0.08187
}

Semantic roles & 50–950 ramp

primary
#5C32BC
secondary
#B3C980
accent
#E147B2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5C32BC

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

Preview Lab → · Contrast checker → · Palette generator →

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