#5C3CAE#5C3CAE

#5C3CAE is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.9% C 0.172 H 290.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#5C3CAE
RGBrgb(92, 60, 174)
HSLhsl(257, 49%, 46%)
HSVhsv(257, 66%, 68%)
CMYKcmyk(47.1%, 65.5%, 0%, 31.8%)
CIE-LABlab(35.13, 41.57, -56.24)
CIE-LCHlch(35.13, 69.93, 306.47°)
OKLaboklab(45.87% 0.0616 -0.1609)
OKLCHoklch(45.87% 0.172 290.9)
XYZxyz(13.6673, 8.5625, 40.9688)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CAE #8EAE3C
analogous
#3C55AE #5C3CAE #953CAE
triadic
#5C3CAE #AE5C3C #3CAE5C
tetradic
#5C3CAE #AE3C55 #8EAE3C #3CAE95
square
#5C3CAE #AE3C55 #8EAE3C #3CAE95
split-complementary
#5C3CAE #AE953C #55AE3C
monochromatic
#2C1D53 #442C80 #5C3CAE #7D5FC8 #A28DD8

Accessibility & contrast

On white

7.74
#5C3CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5C3CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3CAE
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CAE#FFFFFF#000000##FFFFFF
##5C3CAE1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#42576F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5c3cae;
/* rgb */ color: rgb(92, 60, 174);
/* oklch */ color: oklch(45.9% 0.172 290.9);
Tailwind
colors: {
  custom: {
    50: '#9174c7',
    500: '#5c3cae',
    950: '#000000',
  },
}
SCSS
$custom: #5c3cae;
$custom-light: #9174c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3cae",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 174
  },
  "hsl": {
    "h": 256.842,
    "s": 48.718,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45867,
    "c": 0.17234,
    "h": 290.9
  },
  "luminance": 0.08563
}

Semantic roles & 50–950 ramp

primary
#5C3CAE
secondary
#B1C283
accent
#D850B2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5C3CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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