#5C329D#5C329D

#5C329D is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.0% C 0.165 H 296.9°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#5C329D
RGBrgb(92, 50, 157)
HSLhsl(264, 52%, 41%)
HSVhsv(264, 68%, 62%)
CMYKcmyk(41.4%, 68.2%, 0%, 38.4%)
CIE-LABlab(31.79, 42.32, -51.45)
CIE-LCHlch(31.79, 66.61, 309.44°)
OKLaboklab(43.05% 0.0745 -0.1468)
OKLCHoklch(43.05% 0.165 296.9)
XYZxyz(11.6385, 6.9906, 32.6279)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C329D #739D32
analogous
#323E9D #5C329D #91329D
triadic
#5C329D #9D5C32 #329D5C
tetradic
#5C329D #9D323E #739D32 #329D91
square
#5C329D #9D323E #739D32 #329D91
split-complementary
#5C329D #9D9132 #3E9D32
monochromatic
#261440 #41236F #5C329D #7948C5 #9B76D3

Accessibility & contrast

On white

8.76
#5C329D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#5C329D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C329D
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C329D#FFFFFF#000000##FFFFFF
##5C329D1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#4C4B63
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5c329d;
/* rgb */ color: rgb(92, 50, 157);
/* oklch */ color: oklch(43.0% 0.165 296.9);
Tailwind
colors: {
  custom: {
    50: '#906dbb',
    500: '#5c329d',
    950: '#000000',
  },
}
SCSS
$custom: #5c329d;
$custom-light: #906dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c329d",
  "rgb": {
    "r": 92,
    "g": 50,
    "b": 157
  },
  "hsl": {
    "h": 263.551,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43045,
    "c": 0.16468,
    "h": 296.9
  },
  "luminance": 0.06991
}

Semantic roles & 50–950 ramp

primary
#5C329D
secondary
#9EBC6F
accent
#DB4DA3
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5C329D

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

Preview Lab → · Contrast checker → · Palette generator →

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