#5C3CBD#5C3CBD

#5C3CBD is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.1% C 0.191 H 288.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#5C3CBD
RGBrgb(92, 60, 189)
HSLhsl(255, 52%, 49%)
HSVhsv(255, 68%, 74%)
CMYKcmyk(51.3%, 68.3%, 0%, 25.9%)
CIE-LABlab(36.33, 45.91, -63.15)
CIE-LCHlch(36.33, 78.08, 306.02°)
OKLaboklab(47.11% 0.0595 -0.1813)
OKLCHoklch(47.11% 0.191 288.2)
XYZxyz(15.2121, 9.1804, 49.1047)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CBD #9DBD3C
analogous
#3C5DBD #5C3CBD #9D3CBD
triadic
#5C3CBD #BD5C3C #3CBD5C
tetradic
#5C3CBD #BD3C5D #9DBD3C #3CBD9D
square
#5C3CBD #BD3C5D #9DBD3C #3CBD9D
split-complementary
#5C3CBD #BD9D3C #5DBD3C
monochromatic
#2F1F60 #452D8F #5C3CBD #8167CF #A896DE

Accessibility & contrast

On white

7.40
#5C3CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5C3CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3CBD
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CBD#FFFFFF#000000##FFFFFF
##5C3CBD1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#385D78
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c3cbd;
/* rgb */ color: rgb(92, 60, 189);
/* oklch */ color: oklch(47.1% 0.191 288.2);
Tailwind
colors: {
  custom: {
    50: '#9374d2',
    500: '#5c3cbd',
    950: '#000000',
  },
}
SCSS
$custom: #5c3cbd;
$custom-light: #9374d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3cbd",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 189
  },
  "hsl": {
    "h": 254.884,
    "s": 51.807,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47106,
    "c": 0.1908,
    "h": 288.2
  },
  "luminance": 0.09181
}

Semantic roles & 50–950 ramp

primary
#5C3CBD
secondary
#BAC98C
accent
#DB4DB8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C3CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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