#5C3BCE#5C3BCE

#5C3BCE is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.4% C 0.212 H 285.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#5C3BCE
RGBrgb(92, 59, 206)
HSLhsl(253, 60%, 52%)
HSVhsv(253, 71%, 81%)
CMYKcmyk(55.3%, 71.4%, 0%, 19.2%)
CIE-LABlab(37.59, 51.37, -71.01)
CIE-LCHlch(37.59, 87.64, 305.88°)
OKLaboklab(48.45% 0.0573 -0.2043)
OKLCHoklch(48.45% 0.212 285.7)
XYZxyz(17.1148, 9.8585, 59.3816)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3BCE #ADCE3B
analogous
#3B64CE #5C3BCE #A53BCE
triadic
#5C3BCE #CE5C3B #3BCE5C
tetradic
#5C3BCE #CE3B64 #ADCE3B #3BCEA5
square
#5C3BCE #CE3B64 #ADCE3B #3BCEA5
split-complementary
#5C3BCE #CEA53B #64CE3B
monochromatic
#301D72 #4429A3 #5C3BCE #856CDA #AD9DE6

Accessibility & contrast

On white

7.07
#5C3BCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5C3BCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3BCE
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3BCE#FFFFFF#000000##FFFFFF
##5C3BCE1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD2
Deuteranopia (green-blind)
#0054CB
Tritanopia (blue-blind)
#276281
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5c3bce;
/* rgb */ color: rgb(92, 59, 206);
/* oklch */ color: oklch(48.4% 0.212 285.7);
Tailwind
colors: {
  custom: {
    50: '#9674de',
    500: '#5c3bce',
    950: '#000000',
  },
}
SCSS
$custom: #5c3bce;
$custom-light: #9674de;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3bce",
  "rgb": {
    "r": 92,
    "g": 59,
    "b": 206
  },
  "hsl": {
    "h": 253.469,
    "s": 60,
    "l": 51.961
  },
  "oklch": {
    "l": 0.4845,
    "c": 0.2122,
    "h": 285.7
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#5C3BCE
secondary
#C4D392
accent
#E345C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5C3BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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