#5C3DD6#5C3DD6

#5C3DD6 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.4% C 0.219 H 284.3°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5C3DD6
RGBrgb(92, 61, 214)
HSLhsl(252, 65%, 54%)
HSVhsv(252, 71%, 84%)
CMYKcmyk(57%, 71.5%, 0%, 16.1%)
CIE-LABlab(38.67, 52.64, -73.86)
CIE-LCHlch(38.67, 90.70, 305.48°)
OKLaboklab(49.43% 0.0541 -0.2127)
OKLCHoklch(49.43% 0.219 284.3)
XYZxyz(18.2163, 10.4667, 64.6657)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3DD6 #B7D63D
analogous
#3D6BD6 #5C3DD6 #A93DD6
triadic
#5C3DD6 #D65C3D #3DD65C
tetradic
#5C3DD6 #D63D6B #B7D63D #3DD6A9
square
#5C3DD6 #D63D6B #B7D63D #3DD6A9
split-complementary
#5C3DD6 #D6A93D #6BD63D
monochromatic
#2F1B7E #4225B1 #5C3DD6 #8670E1 #B1A2EB

Accessibility & contrast

On white

6.79
#5C3DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5C3DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3DD6
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3DD6#FFFFFF#000000##FFFFFF
##5C3DD61.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDB
Deuteranopia (green-blind)
#0056D3
Tritanopia (blue-blind)
#1A6786
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c3dd6;
/* rgb */ color: rgb(92, 61, 214);
/* oklch */ color: oklch(49.4% 0.219 284.3);
Tailwind
colors: {
  custom: {
    50: '#9776e4',
    500: '#5c3dd6',
    950: '#000000',
  },
}
SCSS
$custom: #5c3dd6;
$custom-light: #9776e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3dd6",
  "rgb": {
    "r": 92,
    "g": 61,
    "b": 214
  },
  "hsl": {
    "h": 252.157,
    "s": 65.106,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49433,
    "c": 0.21944,
    "h": 284.3
  },
  "luminance": 0.10468
}

Semantic roles & 50–950 ramp

primary
#5C3DD6
secondary
#CBD897
accent
#E840C6
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5C3DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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