#5C3DCE#5C3DCE

#5C3DCE is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.7% C 0.210 H 285.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5C3DCE
RGBrgb(92, 61, 206)
HSLhsl(253, 60%, 52%)
HSVhsv(253, 70%, 81%)
CMYKcmyk(55.3%, 70.4%, 0%, 19.2%)
CIE-LABlab(37.96, 50.32, -70.39)
CIE-LCHlch(37.96, 86.53, 305.56°)
OKLaboklab(48.72% 0.0557 -0.2025)
OKLCHoklch(48.72% 0.21 285.4)
XYZxyz(17.2196, 10.0680, 59.4165)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3DCE #AFCE3D
analogous
#3D66CE #5C3DCE #A53DCE
triadic
#5C3DCE #CE5C3D #3DCE5C
tetradic
#5C3DCE #CE3D66 #AFCE3D #3DCEA5
square
#5C3DCE #CE3D66 #AFCE3D #3DCEA5
split-complementary
#5C3DCE #CEA53D #66CE3D
monochromatic
#301D73 #4429A4 #5C3DCE #856EDA #AE9FE7

Accessibility & contrast

On white

6.97
#5C3DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5C3DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3DCE
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3DCE#FFFFFF#000000##FFFFFF
##5C3DCE1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD2
Deuteranopia (green-blind)
#0055CB
Tritanopia (blue-blind)
#276481
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5c3dce;
/* rgb */ color: rgb(92, 61, 206);
/* oklch */ color: oklch(48.7% 0.210 285.4);
Tailwind
colors: {
  custom: {
    50: '#9575de',
    500: '#5c3dce',
    950: '#000000',
  },
}
SCSS
$custom: #5c3dce;
$custom-light: #9575de;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3dce",
  "rgb": {
    "r": 92,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 252.828,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48718,
    "c": 0.21003,
    "h": 285.4
  },
  "luminance": 0.10069
}

Semantic roles & 50–950 ramp

primary
#5C3DCE
secondary
#C5D394
accent
#E345C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5C3DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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