#5C3CBC#5C3CBC

#5C3CBC is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.0% C 0.190 H 288.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#5C3CBC
RGBrgb(92, 60, 188)
HSLhsl(255, 52%, 49%)
HSVhsv(255, 68%, 74%)
CMYKcmyk(51.1%, 68.1%, 0%, 26.3%)
CIE-LABlab(36.25, 45.62, -62.70)
CIE-LCHlch(36.25, 77.54, 306.04°)
OKLaboklab(47.02% 0.0597 -0.1799)
OKLCHoklch(47.02% 0.19 288.4)
XYZxyz(15.1039, 9.1372, 48.5350)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CBC #9CBC3C
analogous
#3C5CBC #5C3CBC #9C3CBC
triadic
#5C3CBC #BC5C3C #3CBC5C
tetradic
#5C3CBC #BC3C5C #9CBC3C #3CBC9C
square
#5C3CBC #BC3C5C #9CBC3C #3CBC9C
split-complementary
#5C3CBC #BC9C3C #5CBC3C
monochromatic
#2F1E5F #452D8E #5C3CBC #8167CE #A795DD

Accessibility & contrast

On white

7.43
#5C3CBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5C3CBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3CBC
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CBC#FFFFFF#000000##FFFFFF
##5C3CBC1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#395C77
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c3cbc;
/* rgb */ color: rgb(92, 60, 188);
/* oklch */ color: oklch(47.0% 0.190 288.4);
Tailwind
colors: {
  custom: {
    50: '#9374d1',
    500: '#5c3cbc',
    950: '#000000',
  },
}
SCSS
$custom: #5c3cbc;
$custom-light: #9374d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3cbc",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 188
  },
  "hsl": {
    "h": 255,
    "s": 51.613,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47022,
    "c": 0.18959,
    "h": 288.4
  },
  "luminance": 0.09138
}

Semantic roles & 50–950 ramp

primary
#5C3CBC
secondary
#B9C98B
accent
#DB4DB7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C3CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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