#5C3DCC#5C3DCC

#5C3DCC is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.5% C 0.208 H 285.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5C3DCC
RGBrgb(92, 61, 204)
HSLhsl(253, 58%, 52%)
HSVhsv(253, 70%, 80%)
CMYKcmyk(54.9%, 70.1%, 0%, 20%)
CIE-LABlab(37.79, 49.73, -69.52)
CIE-LCHlch(37.79, 85.48, 305.58°)
OKLaboklab(48.54% 0.0561 -0.1999)
OKLCHoklch(48.54% 0.208 285.7)
XYZxyz(16.9782, 9.9715, 58.1451)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3DCC #ADCC3D
analogous
#3D66CC #5C3DCC #A43DCC
triadic
#5C3DCC #CC5C3D #3DCC5C
tetradic
#5C3DCC #CC3D66 #ADCC3D #3DCCA4
square
#5C3DCC #CC3D66 #ADCC3D #3DCCA4
split-complementary
#5C3DCC #CCA43D #66CC3D
monochromatic
#301E71 #442AA1 #5C3DCC #856DD9 #AD9EE5

Accessibility & contrast

On white

7.01
#5C3DCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5C3DCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3DCC
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3DCC#FFFFFF#000000##FFFFFF
##5C3DCC1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#2A6380
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5c3dcc;
/* rgb */ color: rgb(92, 61, 204);
/* oklch */ color: oklch(48.5% 0.208 285.7);
Tailwind
colors: {
  custom: {
    50: '#9575dd',
    500: '#5c3dcc',
    950: '#000000',
  },
}
SCSS
$custom: #5c3dcc;
$custom-light: #9575dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3dcc",
  "rgb": {
    "r": 92,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 253.007,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48542,
    "c": 0.20766,
    "h": 285.7
  },
  "luminance": 0.09972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C3DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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