#5C3CD2#5C3CD2

#5C3CD2 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 48.9% C 0.216 H 285.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5C3CD2
RGBrgb(92, 60, 210)
HSLhsl(253, 63%, 53%)
HSVhsv(253, 71%, 82%)
CMYKcmyk(56.2%, 71.4%, 0%, 17.6%)
CIE-LABlab(38.13, 52.00, -72.44)
CIE-LCHlch(38.13, 89.17, 305.67°)
OKLaboklab(48.94% 0.0557 -0.2085)
OKLCHoklch(48.94% 0.216 285)
XYZxyz(17.6588, 10.1591, 61.9907)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CD2 #B2D23C
analogous
#3C67D2 #5C3CD2 #A73CD2
triadic
#5C3CD2 #D25C3C #3CD25C
tetradic
#5C3CD2 #D23C67 #B2D23C #3CD2A7
square
#5C3CD2 #D23C67 #B2D23C #3CD2A7
split-complementary
#5C3CD2 #D2A73C #67D23C
monochromatic
#2F1C78 #4327AA #5C3CD2 #866EDD #AF9FE9

Accessibility & contrast

On white

6.93
#5C3CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5C3CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3CD2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CD2#FFFFFF#000000##FFFFFF
##5C3CD21.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED6
Deuteranopia (green-blind)
#0055CF
Tritanopia (blue-blind)
#226583
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5c3cd2;
/* rgb */ color: rgb(92, 60, 210);
/* oklch */ color: oklch(48.9% 0.216 285.0);
Tailwind
colors: {
  custom: {
    50: '#9675e1',
    500: '#5c3cd2',
    950: '#000000',
  },
}
SCSS
$custom: #5c3cd2;
$custom-light: #9675e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3cd2",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 252.8,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48941,
    "c": 0.21582,
    "h": 285
  },
  "luminance": 0.1016
}

Semantic roles & 50–950 ramp

primary
#5C3CD2
secondary
#C7D594
accent
#E642C3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5C3CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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