#5C329F#5C329F

#5C329F is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.2% C 0.167 H 296.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#5C329F
RGBrgb(92, 50, 159)
HSLhsl(263, 52%, 41%)
HSVhsv(263, 69%, 62%)
CMYKcmyk(42.1%, 68.6%, 0%, 37.6%)
CIE-LABlab(31.94, 42.86, -52.41)
CIE-LCHlch(31.94, 67.70, 309.28°)
OKLaboklab(43.21% 0.0743 -0.1497)
OKLCHoklch(43.21% 0.167 296.4)
XYZxyz(11.8106, 7.0595, 33.5345)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C329F #759F32
analogous
#323E9F #5C329F #92329F
triadic
#5C329F #9F5C32 #329F5C
tetradic
#5C329F #9F323E #759F32 #329F92
square
#5C329F #9F323E #759F32 #329F92
split-complementary
#5C329F #9F9232 #3E9F32
monochromatic
#261542 #412370 #5C329F #7949C6 #9B77D4

Accessibility & contrast

On white

8.71
#5C329F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5C329F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C329F
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C329F#FFFFFF#000000##FFFFFF
##5C329F1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#4B4C64
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5c329f;
/* rgb */ color: rgb(92, 50, 159);
/* oklch */ color: oklch(43.2% 0.167 296.4);
Tailwind
colors: {
  custom: {
    50: '#906dbc',
    500: '#5c329f',
    950: '#000000',
  },
}
SCSS
$custom: #5c329f;
$custom-light: #906dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c329f",
  "rgb": {
    "r": 92,
    "g": 50,
    "b": 159
  },
  "hsl": {
    "h": 263.119,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43207,
    "c": 0.16708,
    "h": 296.4
  },
  "luminance": 0.0706
}

Semantic roles & 50–950 ramp

primary
#5C329F
secondary
#9FBD70
accent
#DC4CA4
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5C329F

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

Preview Lab → · Contrast checker → · Palette generator →

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