#5C3DCD#5C3DCD

#5C3DCD is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.6% C 0.209 H 285.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5C3DCD
RGBrgb(92, 61, 205)
HSLhsl(253, 59%, 52%)
HSVhsv(253, 70%, 80%)
CMYKcmyk(55.1%, 70.2%, 0%, 19.6%)
CIE-LABlab(37.88, 50.02, -69.96)
CIE-LCHlch(37.88, 86.00, 305.57°)
OKLaboklab(48.63% 0.0559 -0.2012)
OKLCHoklch(48.63% 0.209 285.5)
XYZxyz(17.0985, 10.0196, 58.7788)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3DCD #AECD3D
analogous
#3D66CD #5C3DCD #A43DCD
triadic
#5C3DCD #CD5C3D #3DCD5C
tetradic
#5C3DCD #CD3D66 #AECD3D #3DCDA4
square
#5C3DCD #CD3D66 #AECD3D #3DCDA4
split-complementary
#5C3DCD #CDA43D #66CD3D
monochromatic
#301D72 #442AA3 #5C3DCD #856EDA #AE9EE6

Accessibility & contrast

On white

6.99
#5C3DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#5C3DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3DCD
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3DCD#FFFFFF#000000##FFFFFF
##5C3DCD1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#0055CA
Tritanopia (blue-blind)
#286381
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5c3dcd;
/* rgb */ color: rgb(92, 61, 205);
/* oklch */ color: oklch(48.6% 0.209 285.5);
Tailwind
colors: {
  custom: {
    50: '#9575dd',
    500: '#5c3dcd',
    950: '#000000',
  },
}
SCSS
$custom: #5c3dcd;
$custom-light: #9575dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3dcd",
  "rgb": {
    "r": 92,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 252.917,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.4863,
    "c": 0.20885,
    "h": 285.5
  },
  "luminance": 0.10021
}

Semantic roles & 50–950 ramp

primary
#5C3DCD
secondary
#C5D293
accent
#E246C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5C3DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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