#5C3CB2#5C3CB2

#5C3CB2 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.2% C 0.177 H 290.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#5C3CB2
RGBrgb(92, 60, 178)
HSLhsl(256, 50%, 47%)
HSVhsv(256, 66%, 70%)
CMYKcmyk(48.3%, 66.3%, 0%, 30.2%)
CIE-LABlab(35.44, 42.73, -58.10)
CIE-LCHlch(35.44, 72.12, 306.33°)
OKLaboklab(46.19% 0.0611 -0.1664)
OKLCHoklch(46.19% 0.177 290.2)
XYZxyz(14.0631, 8.7208, 43.0532)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CB2 #92B23C
analogous
#3C57B2 #5C3CB2 #973CB2
triadic
#5C3CB2 #B25C3C #3CB25C
tetradic
#5C3CB2 #B23C57 #92B23C #3CB297
square
#5C3CB2 #B23C57 #92B23C #3CB297
split-complementary
#5C3CB2 #B2973C #57B23C
monochromatic
#2D1D56 #442D84 #5C3CB2 #7E61CA #A38FD9

Accessibility & contrast

On white

7.65
#5C3CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5C3CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3CB2
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CB2#FFFFFF#000000##FFFFFF
##5C3CB21.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#405972
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5c3cb2;
/* rgb */ color: rgb(92, 60, 178);
/* oklch */ color: oklch(46.2% 0.177 290.2);
Tailwind
colors: {
  custom: {
    50: '#9174ca',
    500: '#5c3cb2',
    950: '#000000',
  },
}
SCSS
$custom: #5c3cb2;
$custom-light: #9174ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3cb2",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 256.271,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46191,
    "c": 0.17731,
    "h": 290.2
  },
  "luminance": 0.08721
}

Semantic roles & 50–950 ramp

primary
#5C3CB2
secondary
#B3C486
accent
#D94FB4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5C3CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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