#5C32BD#5C32BD

#5C32BD is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.8% C 0.202 H 289.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#5C32BD
RGBrgb(92, 50, 189)
HSLhsl(258, 58%, 47%)
HSVhsv(258, 74%, 74%)
CMYKcmyk(51.3%, 73.5%, 0%, 25.9%)
CIE-LABlab(34.46, 51.12, -66.21)
CIE-LCHlch(34.46, 83.65, 307.67°)
OKLaboklab(45.77% 0.0684 -0.1902)
OKLCHoklch(45.77% 0.202 289.8)
XYZxyz(14.7369, 8.2300, 48.9463)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C32BD #93BD32
analogous
#324EBD #5C32BD #A132BD
triadic
#5C32BD #BD5C32 #32BD5C
tetradic
#5C32BD #BD324E #93BD32 #32BDA1
square
#5C32BD #BD324E #93BD32 #32BDA1
split-complementary
#5C32BD #BDA132 #4EBD32
monochromatic
#2D185C #44258D #5C32BD #7E59D3 #A489E0

Accessibility & contrast

On white

7.94
#5C32BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5C32BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C32BD
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C32BD#FFFFFF#000000##FFFFFF
##5C32BD1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#395775
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5c32bd;
/* rgb */ color: rgb(92, 50, 189);
/* oklch */ color: oklch(45.8% 0.202 289.8);
Tailwind
colors: {
  custom: {
    50: '#946ed2',
    500: '#5c32bd',
    950: '#000000',
  },
}
SCSS
$custom: #5c32bd;
$custom-light: #946ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c32bd",
  "rgb": {
    "r": 92,
    "g": 50,
    "b": 189
  },
  "hsl": {
    "h": 258.129,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45774,
    "c": 0.20212,
    "h": 289.8
  },
  "luminance": 0.08231
}

Semantic roles & 50–950 ramp

primary
#5C32BD
secondary
#B4CA81
accent
#E146B3
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5C32BD

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

Preview Lab → · Contrast checker → · Palette generator →

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