#5C3DCA#5C3DCA

#5C3DCA is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.4% C 0.205 H 286.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5C3DCA
RGBrgb(92, 61, 202)
HSLhsl(253, 57%, 52%)
HSVhsv(253, 70%, 79%)
CMYKcmyk(54.5%, 69.8%, 0%, 20.8%)
CIE-LABlab(37.62, 49.15, -68.64)
CIE-LCHlch(37.62, 84.42, 305.61°)
OKLaboklab(48.37% 0.0564 -0.1974)
OKLCHoklch(48.37% 0.205 286)
XYZxyz(16.7398, 9.8761, 56.8899)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3DCA #ABCA3D
analogous
#3D65CA #5C3DCA #A23DCA
triadic
#5C3DCA #CA5C3D #3DCA5C
tetradic
#5C3DCA #CA3D65 #ABCA3D #3DCAA2
square
#5C3DCA #CA3D65 #ABCA3D #3DCAA2
split-complementary
#5C3DCA #CAA23D #65CA3D
monochromatic
#301E6E #452B9F #5C3DCA #846DD7 #AD9DE4

Accessibility & contrast

On white

7.06
#5C3DCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5C3DCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3DCA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3DCA#FFFFFF#000000##FFFFFF
##5C3DCA1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#2C627F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5c3dca;
/* rgb */ color: rgb(92, 61, 202);
/* oklch */ color: oklch(48.4% 0.205 286.0);
Tailwind
colors: {
  custom: {
    50: '#9575db',
    500: '#5c3dca',
    950: '#000000',
  },
}
SCSS
$custom: #5c3dca;
$custom-light: #9575db;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3dca",
  "rgb": {
    "r": 92,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 253.191,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48366,
    "c": 0.20528,
    "h": 286
  },
  "luminance": 0.09877
}

Semantic roles & 50–950 ramp

primary
#5C3DCA
secondary
#C3D092
accent
#E047BF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5C3DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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