#5C32B0#5C32B0

#5C32B0 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.187 H 292.4°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#5C32B0
RGBrgb(92, 50, 176)
HSLhsl(260, 56%, 44%)
HSVhsv(260, 72%, 69%)
CMYKcmyk(47.7%, 71.6%, 0%, 31%)
CIE-LABlab(33.33, 47.53, -60.36)
CIE-LCHlch(33.33, 76.82, 308.22°)
OKLaboklab(44.63% 0.0712 -0.173)
OKLCHoklch(44.63% 0.187 292.4)
XYZxyz(13.3885, 7.6906, 41.8449)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C32B0 #86B032
analogous
#3247B0 #5C32B0 #9B32B0
triadic
#5C32B0 #B05C32 #32B05C
tetradic
#5C32B0 #B03247 #86B032 #32B09B
square
#5C32B0 #B03247 #86B032 #32B09B
split-complementary
#5C32B0 #B09B32 #47B032
monochromatic
#2A1751 #432480 #5C32B0 #7B51CE #9F81DB

Accessibility & contrast

On white

8.27
#5C32B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5C32B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C32B0
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C32B0#FFFFFF#000000##FFFFFF
##5C32B01.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#42526E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5c32b0;
/* rgb */ color: rgb(92, 50, 176);
/* oklch */ color: oklch(44.6% 0.187 292.4);
Tailwind
colors: {
  custom: {
    50: '#926ec9',
    500: '#5c32b0',
    950: '#000000',
  },
}
SCSS
$custom: #5c32b0;
$custom-light: #926ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c32b0",
  "rgb": {
    "r": 92,
    "g": 50,
    "b": 176
  },
  "hsl": {
    "h": 260,
    "s": 55.752,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44629,
    "c": 0.18712,
    "h": 292.4
  },
  "luminance": 0.07691
}

Semantic roles & 50–950 ramp

primary
#5C32B0
secondary
#ABC479
accent
#DF49AD
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C32B0

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

Preview Lab → · Contrast checker → · Palette generator →

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