#5C3BD6#5C3BD6

#5C3BD6 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.2% C 0.222 H 284.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#5C3BD6
RGBrgb(92, 59, 214)
HSLhsl(253, 65%, 54%)
HSVhsv(253, 72%, 84%)
CMYKcmyk(57%, 72.4%, 0%, 16.1%)
CIE-LABlab(38.30, 53.67, -74.46)
CIE-LCHlch(38.30, 91.79, 305.78°)
OKLaboklab(49.17% 0.0556 -0.2144)
OKLCHoklch(49.17% 0.222 284.5)
XYZxyz(18.1115, 10.2572, 64.6308)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3BD6 #B5D63B
analogous
#3B67D6 #5C3BD6 #A93BD6
triadic
#5C3BD6 #D65C3B #3BD65C
tetradic
#5C3BD6 #D63B67 #B5D63B #3BD6A9
square
#5C3BD6 #D63B67 #B5D63B #3BD6A9
split-complementary
#5C3BD6 #D6A93B #67D63B
monochromatic
#2F1A7D #4225AF #5C3BD6 #866EE1 #B0A0EB

Accessibility & contrast

On white

6.88
#5C3BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5C3BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3BD6
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3BD6#FFFFFF#000000##FFFFFF
##5C3BD61.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDB
Deuteranopia (green-blind)
#0055D3
Tritanopia (blue-blind)
#1B6685
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5c3bd6;
/* rgb */ color: rgb(92, 59, 214);
/* oklch */ color: oklch(49.2% 0.222 284.5);
Tailwind
colors: {
  custom: {
    50: '#9774e4',
    500: '#5c3bd6',
    950: '#000000',
  },
}
SCSS
$custom: #5c3bd6;
$custom-light: #9774e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3bd6",
  "rgb": {
    "r": 92,
    "g": 59,
    "b": 214
  },
  "hsl": {
    "h": 252.774,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49173,
    "c": 0.22152,
    "h": 284.5
  },
  "luminance": 0.10258
}

Semantic roles & 50–950 ramp

primary
#5C3BD6
secondary
#C9D895
accent
#E83FC4
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5C3BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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