#5C3BA2#5C3BA2

#5C3BA2 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.8% C 0.159 H 293.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#5C3BA2
RGBrgb(92, 59, 162)
HSLhsl(259, 47%, 43%)
HSVhsv(259, 64%, 64%)
CMYKcmyk(43.2%, 63.6%, 0%, 36.5%)
CIE-LABlab(34.01, 38.70, -50.87)
CIE-LCHlch(34.01, 63.92, 307.27°)
OKLaboklab(44.77% 0.0639 -0.1452)
OKLCHoklch(44.77% 0.159 293.8)
XYZxyz(12.4974, 8.0115, 35.0633)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3BA2 #81A23B
analogous
#3B4EA2 #5C3BA2 #8F3BA2
triadic
#5C3BA2 #A25C3B #3BA25C
tetradic
#5C3BA2 #A23B4E #81A23B #3BA28F
square
#5C3BA2 #A23B4E #81A23B #3BA28F
split-complementary
#5C3BA2 #A28F3B #4EA23B
monochromatic
#291A48 #432B75 #5C3BA2 #7A58C2 #9E85D3

Accessibility & contrast

On white

8.07
#5C3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5C3BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3BA2
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3BA2#FFFFFF#000000##FFFFFF
##5C3BA21.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#495369
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c3ba2;
/* rgb */ color: rgb(92, 59, 162);
/* oklch */ color: oklch(44.8% 0.159 293.8);
Tailwind
colors: {
  custom: {
    50: '#9073be',
    500: '#5c3ba2',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ba2;
$custom-light: #9073be;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ba2",
  "rgb": {
    "r": 92,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 259.223,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44768,
    "c": 0.15859,
    "h": 293.8
  },
  "luminance": 0.08012
}

Semantic roles & 50–950 ramp

primary
#5C3BA2
secondary
#A8BD7C
accent
#D652AC
background
#F9F7FB
surface
#F1EDF7
border
#CBC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #5C3BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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