#5C3ABC#5C3ABC

#5C3ABC is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.7% C 0.192 H 288.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5C3ABC
RGBrgb(92, 58, 188)
HSLhsl(256, 53%, 48%)
HSVhsv(256, 69%, 74%)
CMYKcmyk(51.1%, 69.1%, 0%, 26.3%)
CIE-LABlab(35.85, 46.71, -63.34)
CIE-LCHlch(35.85, 78.70, 306.40°)
OKLaboklab(46.74% 0.0616 -0.1818)
OKLCHoklch(46.74% 0.192 288.7)
XYZxyz(15.0011, 8.9316, 48.5007)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3ABC #9ABC3A
analogous
#3A59BC #5C3ABC #9D3ABC
triadic
#5C3ABC #BC5C3A #3ABC5C
tetradic
#5C3ABC #BC3A59 #9ABC3A #3ABC9D
square
#5C3ABC #BC3A59 #9ABC3A #3ABC9D
split-complementary
#5C3ABC #BC9D3A #59BC3A
monochromatic
#2E1D5E #452C8D #5C3ABC #8064CF #A693DE

Accessibility & contrast

On white

7.54
#5C3ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5C3ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3ABC
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3ABC#FFFFFF#000000##FFFFFF
##5C3ABC1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#395B76
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c3abc;
/* rgb */ color: rgb(92, 58, 188);
/* oklch */ color: oklch(46.7% 0.192 288.7);
Tailwind
colors: {
  custom: {
    50: '#9373d1',
    500: '#5c3abc',
    950: '#000000',
  },
}
SCSS
$custom: #5c3abc;
$custom-light: #9373d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3abc",
  "rgb": {
    "r": 92,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 255.692,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46739,
    "c": 0.19197,
    "h": 288.7
  },
  "luminance": 0.08932
}

Semantic roles & 50–950 ramp

primary
#5C3ABC
secondary
#B8C989
accent
#DC4CB6
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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