#5C3DC5#5C3DC5

#5C3DC5 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.9% C 0.199 H 286.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#5C3DC5
RGBrgb(92, 61, 197)
HSLhsl(254, 54%, 51%)
HSVhsv(254, 69%, 77%)
CMYKcmyk(53.3%, 69%, 0%, 22.7%)
CIE-LABlab(37.19, 47.69, -66.42)
CIE-LCHlch(37.19, 81.77, 305.68°)
OKLaboklab(47.93% 0.0573 -0.1909)
OKLCHoklch(47.93% 0.199 286.7)
XYZxyz(16.1574, 9.6432, 53.8224)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3DC5 #A6C53D
analogous
#3D62C5 #5C3DC5 #A03DC5
triadic
#5C3DC5 #C55C3D #3DC55C
tetradic
#5C3DC5 #C53D62 #A6C53D #3DC5A0
square
#5C3DC5 #C53D62 #A6C53D #3DC5A0
split-complementary
#5C3DC5 #C5A03D #62C53D
monochromatic
#301F68 #462D98 #5C3DC5 #846CD3 #AB9BE1

Accessibility & contrast

On white

7.17
#5C3DC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5C3DC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3DC5
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3DC5#FFFFFF#000000##FFFFFF
##5C3DC51.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#0054C2
Tritanopia (blue-blind)
#31607C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c3dc5;
/* rgb */ color: rgb(92, 61, 197);
/* oklch */ color: oklch(47.9% 0.199 286.7);
Tailwind
colors: {
  custom: {
    50: '#9475d8',
    500: '#5c3dc5',
    950: '#000000',
  },
}
SCSS
$custom: #5c3dc5;
$custom-light: #9475d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3dc5",
  "rgb": {
    "r": 92,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 253.676,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47932,
    "c": 0.19929,
    "h": 286.7
  },
  "luminance": 0.09644
}

Semantic roles & 50–950 ramp

primary
#5C3DC5
secondary
#BFCD91
accent
#DD4ABC
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5C3DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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