#5C3296#5C3296

#5C3296 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.5% C 0.156 H 298.9°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#5C3296
RGBrgb(92, 50, 150)
HSLhsl(265, 50%, 39%)
HSVhsv(265, 67%, 59%)
CMYKcmyk(38.7%, 66.7%, 0%, 41.2%)
CIE-LABlab(31.25, 40.42, -48.05)
CIE-LCHlch(31.25, 62.79, 310.07°)
OKLaboklab(42.49% 0.0754 -0.1369)
OKLCHoklch(42.49% 0.156 298.9)
XYZxyz(11.0579, 6.7584, 29.5702)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3296 #6C9632
analogous
#323A96 #5C3296 #8E3296
triadic
#5C3296 #965C32 #32965C
tetradic
#5C3296 #96323A #6C9632 #32968E
square
#5C3296 #96323A #6C9632 #32968E
split-complementary
#5C3296 #968E32 #3A9632
monochromatic
#24133A #402368 #5C3296 #7944C1 #9A72D0

Accessibility & contrast

On white

8.93
#5C3296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#5C3296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3296
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3296#FFFFFF#000000##FFFFFF
##5C32961.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#4F495F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5c3296;
/* rgb */ color: rgb(92, 50, 150);
/* oklch */ color: oklch(42.5% 0.156 298.9);
Tailwind
colors: {
  custom: {
    50: '#8f6db6',
    500: '#5c3296',
    950: '#000000',
  },
}
SCSS
$custom: #5c3296;
$custom-light: #8f6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3296",
  "rgb": {
    "r": 92,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 265.2,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42492,
    "c": 0.15627,
    "h": 298.9
  },
  "luminance": 0.06759
}

Semantic roles & 50–950 ramp

primary
#5C3296
secondary
#98B86C
accent
#DA4E9F
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5C3296

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

Preview Lab → · Contrast checker → · Palette generator →

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