#5C32BF#5C32BF

#5C32BF is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.0% C 0.204 H 289.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#5C32BF
RGBrgb(92, 50, 191)
HSLhsl(258, 59%, 47%)
HSVhsv(258, 74%, 75%)
CMYKcmyk(51.8%, 73.8%, 0%, 25.1%)
CIE-LABlab(34.64, 51.68, -67.10)
CIE-LCHlch(34.64, 84.69, 307.60°)
OKLaboklab(45.95% 0.0679 -0.1928)
OKLCHoklch(45.95% 0.204 289.4)
XYZxyz(14.9555, 8.3174, 50.0975)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C32BF #95BF32
analogous
#324FBF #5C32BF #A232BF
triadic
#5C32BF #BF5C32 #32BF5C
tetradic
#5C32BF #BF324F #95BF32 #32BFA2
square
#5C32BF #BF324F #95BF32 #32BFA2
split-complementary
#5C32BF #BFA232 #4FBF32
monochromatic
#2D195E #45258E #5C32BF #7F5AD4 #A48BE1

Accessibility & contrast

On white

7.88
#5C32BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5C32BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C32BF
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C32BF#FFFFFF#000000##FFFFFF
##5C32BF1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#004EBC
Tritanopia (blue-blind)
#375876
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5c32bf;
/* rgb */ color: rgb(92, 50, 191);
/* oklch */ color: oklch(46.0% 0.204 289.4);
Tailwind
colors: {
  custom: {
    50: '#946ed3',
    500: '#5c32bf',
    950: '#000000',
  },
}
SCSS
$custom: #5c32bf;
$custom-light: #946ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c32bf",
  "rgb": {
    "r": 92,
    "g": 50,
    "b": 191
  },
  "hsl": {
    "h": 257.872,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45954,
    "c": 0.20441,
    "h": 289.4
  },
  "luminance": 0.08318
}

Semantic roles & 50–950 ramp

primary
#5C32BF
secondary
#B5CB82
accent
#E246B3
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5C32BF

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

Preview Lab → · Contrast checker → · Palette generator →

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