#5C32B7#5C32B7

#5C32B7 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.195 H 290.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#5C32B7
RGBrgb(92, 50, 183)
HSLhsl(259, 57%, 46%)
HSVhsv(259, 73%, 72%)
CMYKcmyk(49.7%, 72.7%, 0%, 28.2%)
CIE-LABlab(33.93, 49.46, -63.53)
CIE-LCHlch(33.93, 80.52, 307.90°)
OKLaboklab(45.24% 0.0697 -0.1824)
OKLCHoklch(45.24% 0.195 290.9)
XYZxyz(14.0990, 7.9749, 45.5870)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C32B7 #8DB732
analogous
#324BB7 #5C32B7 #9E32B7
triadic
#5C32B7 #B75C32 #32B75C
tetradic
#5C32B7 #B7324B #8DB732 #32B79E
square
#5C32B7 #B7324B #8DB732 #32B79E
split-complementary
#5C32B7 #B79E32 #4BB732
monochromatic
#2C1857 #442587 #5C32B7 #7C56D1 #A186DE

Accessibility & contrast

On white

8.09
#5C32B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5C32B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C32B7
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C32B7#FFFFFF#000000##FFFFFF
##5C32B71.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#004DB4
Tritanopia (blue-blind)
#3D5571
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c32b7;
/* rgb */ color: rgb(92, 50, 183);
/* oklch */ color: oklch(45.2% 0.195 290.9);
Tailwind
colors: {
  custom: {
    50: '#936ece',
    500: '#5c32b7',
    950: '#000000',
  },
}
SCSS
$custom: #5c32b7;
$custom-light: #936ece;
$custom-dark: #000000;
JSON
{
  "hex": "#5c32b7",
  "rgb": {
    "r": 92,
    "g": 50,
    "b": 183
  },
  "hsl": {
    "h": 258.947,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4524,
    "c": 0.19523,
    "h": 290.9
  },
  "luminance": 0.07975
}

Semantic roles & 50–950 ramp

primary
#5C32B7
secondary
#B0C77D
accent
#E047B0
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5C32B7

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

Preview Lab → · Contrast checker → · Palette generator →

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