#5C3AA3#5C3AA3

#5C3AA3 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.7% C 0.161 H 293.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#5C3AA3
RGBrgb(92, 58, 163)
HSLhsl(259, 48%, 43%)
HSVhsv(259, 64%, 64%)
CMYKcmyk(43.6%, 64.4%, 0%, 36.1%)
CIE-LABlab(33.87, 39.56, -51.69)
CIE-LCHlch(33.87, 65.09, 307.43°)
OKLaboklab(44.69% 0.0649 -0.1476)
OKLCHoklch(44.69% 0.161 293.7)
XYZxyz(12.5358, 7.9454, 35.5164)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3AA3 #81A33A
analogous
#3A4CA3 #5C3AA3 #903AA3
triadic
#5C3AA3 #A35C3A #3AA35C
tetradic
#5C3AA3 #A33A4C #81A33A #3AA390
square
#5C3AA3 #A33A4C #81A33A #3AA390
split-complementary
#5C3AA3 #A3903A #4CA33A
monochromatic
#291A49 #432A76 #5C3AA3 #7A57C3 #9E84D3

Accessibility & contrast

On white

8.11
#5C3AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5C3AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3AA3
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3AA3#FFFFFF#000000##FFFFFF
##5C3AA31.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#485269
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c3aa3;
/* rgb */ color: rgb(92, 58, 163);
/* oklch */ color: oklch(44.7% 0.161 293.7);
Tailwind
colors: {
  custom: {
    50: '#9072bf',
    500: '#5c3aa3',
    950: '#000000',
  },
}
SCSS
$custom: #5c3aa3;
$custom-light: #9072bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3aa3",
  "rgb": {
    "r": 92,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 259.429,
    "s": 47.511,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44692,
    "c": 0.16125,
    "h": 293.7
  },
  "luminance": 0.07946
}

Semantic roles & 50–950 ramp

primary
#5C3AA3
secondary
#A8BD7C
accent
#D751AC
background
#F9F7FB
surface
#F1EDF7
border
#CBC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #5C3AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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