#5C3CB5#5C3CB5

#5C3CB5 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.4% C 0.181 H 289.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#5C3CB5
RGBrgb(92, 60, 181)
HSLhsl(256, 50%, 47%)
HSVhsv(256, 67%, 71%)
CMYKcmyk(49.2%, 66.9%, 0%, 29%)
CIE-LABlab(35.68, 43.59, -59.49)
CIE-LCHlch(35.68, 73.76, 306.23°)
OKLaboklab(46.44% 0.0607 -0.1705)
OKLCHoklch(46.44% 0.181 289.6)
XYZxyz(14.3676, 8.8426, 44.6569)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CB5 #95B53C
analogous
#3C59B5 #5C3CB5 #993CB5
triadic
#5C3CB5 #B55C3C #3CB55C
tetradic
#5C3CB5 #B53C59 #95B53C #3CB599
square
#5C3CB5 #B53C59 #95B53C #3CB599
split-complementary
#5C3CB5 #B5993C #59B53C
monochromatic
#2D1E59 #452D87 #5C3CB5 #7F63CB #A491DB

Accessibility & contrast

On white

7.59
#5C3CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5C3CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3CB5
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CB5#FFFFFF#000000##FFFFFF
##5C3CB51.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#3E5A73
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c3cb5;
/* rgb */ color: rgb(92, 60, 181);
/* oklch */ color: oklch(46.4% 0.181 289.6);
Tailwind
colors: {
  custom: {
    50: '#9274cc',
    500: '#5c3cb5',
    950: '#000000',
  },
}
SCSS
$custom: #5c3cb5;
$custom-light: #9274cc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3cb5",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 255.868,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46437,
    "c": 0.18102,
    "h": 289.6
  },
  "luminance": 0.08843
}

Semantic roles & 50–950 ramp

primary
#5C3CB5
secondary
#B5C687
accent
#DA4EB5
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5C3CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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