#5C3DD2#5C3DD2

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

Color values

HEX#5C3DD2
RGBrgb(92, 61, 210)
HSLhsl(252, 62%, 53%)
HSVhsv(252, 71%, 82%)
CMYKcmyk(56.2%, 71%, 0%, 17.6%)
CIE-LABlab(38.31, 51.48, -72.13)
CIE-LCHlch(38.31, 88.62, 305.51°)
OKLaboklab(49.07% 0.0549 -0.2076)
OKLCHoklch(49.07% 0.215 284.8)
XYZxyz(17.7117, 10.2649, 62.0083)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3DD2 #B3D23D
analogous
#3D68D2 #5C3DD2 #A63DD2
triadic
#5C3DD2 #D25C3D #3DD25C
tetradic
#5C3DD2 #D23D68 #B3D23D #3DD2A6
square
#5C3DD2 #D23D68 #B3D23D #3DD2A6
split-complementary
#5C3DD2 #D2A63D #68D23D
monochromatic
#2F1C79 #4328AA #5C3DD2 #866FDE #AFA0E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C3DD2#FFFFFF#000000##FFFFFF
##5C3DD21.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)
#005ED6
Deuteranopia (green-blind)
#0055CF
Tritanopia (blue-blind)
#216583
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5c3dd2;
/* rgb */ color: rgb(92, 61, 210);
/* oklch */ color: oklch(49.1% 0.215 284.8);
Tailwind
colors: {
  custom: {
    50: '#9675e1',
    500: '#5c3dd2',
    950: '#000000',
  },
}
SCSS
$custom: #5c3dd2;
$custom-light: #9675e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3dd2",
  "rgb": {
    "r": 92,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 252.483,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49074,
    "c": 0.21475,
    "h": 284.8
  },
  "luminance": 0.10266
}

Semantic roles & 50–950 ramp

primary
#5C3DD2
secondary
#C8D695
accent
#E542C3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5C3DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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