#5C3BD9#5C3BD9

#5C3BD9 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.4% C 0.225 H 284.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5C3BD9
RGBrgb(92, 59, 217)
HSLhsl(253, 68%, 54%)
HSVhsv(253, 73%, 85%)
CMYKcmyk(57.6%, 72.8%, 0%, 14.9%)
CIE-LABlab(38.57, 54.53, -75.74)
CIE-LCHlch(38.57, 93.33, 305.75°)
OKLaboklab(49.45% 0.0549 -0.2182)
OKLCHoklch(49.45% 0.225 284.1)
XYZxyz(18.4981, 10.4118, 66.6671)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3BD9 #B8D93B
analogous
#3B69D9 #5C3BD9 #AB3BD9
triadic
#5C3BD9 #D95C3B #3BD95C
tetradic
#5C3BD9 #D93B69 #B8D93B #3BD9AB
square
#5C3BD9 #D93B69 #B8D93B #3BD9AB
split-complementary
#5C3BD9 #D9AB3B #69D93B
monochromatic
#2F1981 #4123B4 #5C3BD9 #876EE3 #B1A2ED

Accessibility & contrast

On white

6.81
#5C3BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5C3BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3BD9
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3BD9#FFFFFF#000000##FFFFFF
##5C3BD91.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDE
Deuteranopia (green-blind)
#0056D6
Tritanopia (blue-blind)
#146787
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c3bd9;
/* rgb */ color: rgb(92, 59, 217);
/* oklch */ color: oklch(49.4% 0.225 284.1);
Tailwind
colors: {
  custom: {
    50: '#9774e6',
    500: '#5c3bd9',
    950: '#000000',
  },
}
SCSS
$custom: #5c3bd9;
$custom-light: #9774e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3bd9",
  "rgb": {
    "r": 92,
    "g": 59,
    "b": 217
  },
  "hsl": {
    "h": 252.532,
    "s": 67.521,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49448,
    "c": 0.22498,
    "h": 284.1
  },
  "luminance": 0.10413
}

Semantic roles & 50–950 ramp

primary
#5C3BD9
secondary
#CBDA96
accent
#EA3DC6
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5C3BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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