#5C3ABD#5C3ABD

#5C3ABD is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.8% C 0.193 H 288.5°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#5C3ABD
RGBrgb(92, 58, 189)
HSLhsl(256, 53%, 48%)
HSVhsv(256, 69%, 74%)
CMYKcmyk(51.3%, 69.3%, 0%, 25.9%)
CIE-LABlab(35.94, 46.99, -63.79)
CIE-LCHlch(35.94, 79.23, 306.38°)
OKLaboklab(46.82% 0.0614 -0.1831)
OKLCHoklch(46.82% 0.193 288.5)
XYZxyz(15.1093, 8.9749, 49.0704)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3ABD #9BBD3A
analogous
#3A59BD #5C3ABD #9D3ABD
triadic
#5C3ABD #BD5C3A #3ABD5C
tetradic
#5C3ABD #BD3A59 #9BBD3A #3ABD9D
square
#5C3ABD #BD3A59 #9BBD3A #3ABD9D
split-complementary
#5C3ABD #BD9D3A #59BD3A
monochromatic
#2E1D5F #452C8E #5C3ABD #8065D0 #A793DE

Accessibility & contrast

On white

7.51
#5C3ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5C3ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3ABD
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3ABD#FFFFFF#000000##FFFFFF
##5C3ABD1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c3abd;
/* rgb */ color: rgb(92, 58, 189);
/* oklch */ color: oklch(46.8% 0.193 288.5);
Tailwind
colors: {
  custom: {
    50: '#9373d2',
    500: '#5c3abd',
    950: '#000000',
  },
}
SCSS
$custom: #5c3abd;
$custom-light: #9373d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3abd",
  "rgb": {
    "r": 92,
    "g": 58,
    "b": 189
  },
  "hsl": {
    "h": 255.573,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46824,
    "c": 0.19316,
    "h": 288.5
  },
  "luminance": 0.08976
}

Semantic roles & 50–950 ramp

primary
#5C3ABD
secondary
#B9C98A
accent
#DC4BB7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C3ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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