#5C32C2#5C32C2

#5C32C2 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.2% C 0.208 H 288.9°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#5C32C2
RGBrgb(92, 50, 194)
HSLhsl(258, 59%, 48%)
HSVhsv(258, 74%, 76%)
CMYKcmyk(52.6%, 74.2%, 0%, 23.9%)
CIE-LABlab(34.90, 52.51, -68.42)
CIE-LCHlch(34.90, 86.25, 307.51°)
OKLaboklab(46.23% 0.0672 -0.1967)
OKLCHoklch(46.23% 0.208 288.9)
XYZxyz(15.2890, 8.4508, 51.8540)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C32C2 #98C232
analogous
#3250C2 #5C32C2 #A432C2
triadic
#5C32C2 #C25C32 #32C25C
tetradic
#5C32C2 #C23250 #98C232 #32C2A4
square
#5C32C2 #C23250 #98C232 #32C2A4
split-complementary
#5C32C2 #C2A432 #50C232
monochromatic
#2E1961 #452591 #5C32C2 #7F5CD5 #A68DE2

Accessibility & contrast

On white

7.81
#5C32C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5C32C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C32C2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C32C2#FFFFFF#000000##FFFFFF
##5C32C21.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C6
Deuteranopia (green-blind)
#004EBF
Tritanopia (blue-blind)
#355978
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5c32c2;
/* rgb */ color: rgb(92, 50, 194);
/* oklch */ color: oklch(46.2% 0.208 288.9);
Tailwind
colors: {
  custom: {
    50: '#946ed6',
    500: '#5c32c2',
    950: '#000000',
  },
}
SCSS
$custom: #5c32c2;
$custom-light: #946ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c32c2",
  "rgb": {
    "r": 92,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 257.5,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46226,
    "c": 0.20782,
    "h": 288.9
  },
  "luminance": 0.08452
}

Semantic roles & 50–950 ramp

primary
#5C32C2
secondary
#B7CC84
accent
#E246B5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5C32C2

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

Preview Lab → · Contrast checker → · Palette generator →

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