#5C3CA0#5C3CA0

#5C3CA0 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.8% C 0.155 H 294.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#5C3CA0
RGBrgb(92, 60, 160)
HSLhsl(259, 45%, 43%)
HSVhsv(259, 63%, 63%)
CMYKcmyk(42.5%, 62.5%, 0%, 37.3%)
CIE-LABlab(34.08, 37.56, -49.55)
CIE-LCHlch(34.08, 62.18, 307.16°)
OKLaboklab(44.77% 0.0629 -0.1413)
OKLCHoklch(44.77% 0.155 294)
XYZxyz(12.3730, 8.0448, 34.1518)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CA0 #80A03C
analogous
#3C4EA0 #5C3CA0 #8E3CA0
triadic
#5C3CA0 #A05C3C #3CA05C
tetradic
#5C3CA0 #A03C4E #80A03C #3CA08E
square
#5C3CA0 #A03C4E #80A03C #3CA08E
split-complementary
#5C3CA0 #A08E3C #4EA03C
monochromatic
#291B47 #422B73 #5C3CA0 #7A59C1 #9D85D1

Accessibility & contrast

On white

8.05
#5C3CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5C3CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3CA0
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CA0#FFFFFF#000000##FFFFFF
##5C3CA01.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#4A5368
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c3ca0;
/* rgb */ color: rgb(92, 60, 160);
/* oklch */ color: oklch(44.8% 0.155 294.0);
Tailwind
colors: {
  custom: {
    50: '#8f73bd',
    500: '#5c3ca0',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ca0;
$custom-light: #8f73bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ca0",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 160
  },
  "hsl": {
    "h": 259.2,
    "s": 45.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44772,
    "c": 0.15465,
    "h": 294
  },
  "luminance": 0.08045
}

Semantic roles & 50–950 ramp

primary
#5C3CA0
secondary
#A7BB7C
accent
#D553AB
background
#F9F7FB
surface
#F1EDF7
border
#CBC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #5C3CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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