#5C3BBD#5C3BBD

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

Color values

HEX#5C3BBD
RGBrgb(92, 59, 189)
HSLhsl(255, 52%, 49%)
HSVhsv(255, 69%, 74%)
CMYKcmyk(51.3%, 68.8%, 0%, 25.9%)
CIE-LABlab(36.13, 46.45, -63.47)
CIE-LCHlch(36.13, 78.66, 306.20°)
OKLaboklab(46.96% 0.0605 -0.1822)
OKLCHoklch(46.96% 0.192 288.4)
XYZxyz(15.1602, 9.0767, 49.0874)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3BBD #9CBD3B
analogous
#3B5BBD #5C3BBD #9D3BBD
triadic
#5C3BBD #BD5C3B #3BBD5C
tetradic
#5C3BBD #BD3B5B #9CBD3B #3BBD9D
square
#5C3BBD #BD3B5B #9CBD3B #3BBD9D
split-complementary
#5C3BBD #BD9D3B #5BBD3B
monochromatic
#2F1E60 #452C8E #5C3BBD #8166CF #A795DE

Accessibility & contrast

On white

7.46
#5C3BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5C3BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3BBD
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3BBD#FFFFFF#000000##FFFFFF
##5C3BBD1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c3bbd;
/* rgb */ color: rgb(92, 59, 189);
/* oklch */ color: oklch(47.0% 0.192 288.4);
Tailwind
colors: {
  custom: {
    50: '#9373d2',
    500: '#5c3bbd',
    950: '#000000',
  },
}
SCSS
$custom: #5c3bbd;
$custom-light: #9373d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3bbd",
  "rgb": {
    "r": 92,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 255.231,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46964,
    "c": 0.19199,
    "h": 288.4
  },
  "luminance": 0.09077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C3BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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