#5C3DC7#5C3DC7

#5C3DC7 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.1% C 0.202 H 286.4°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#5C3DC7
RGBrgb(92, 61, 199)
HSLhsl(253, 55%, 51%)
HSVhsv(253, 69%, 78%)
CMYKcmyk(53.8%, 69.3%, 0%, 22%)
CIE-LABlab(37.36, 48.28, -67.31)
CIE-LCHlch(37.36, 82.83, 305.65°)
OKLaboklab(48.11% 0.057 -0.1935)
OKLCHoklch(48.11% 0.202 286.4)
XYZxyz(16.3881, 9.7354, 55.0374)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3DC7 #A8C73D
analogous
#3D63C7 #5C3DC7 #A13DC7
triadic
#5C3DC7 #C75C3D #3DC75C
tetradic
#5C3DC7 #C73D63 #A8C73D #3DC7A1
square
#5C3DC7 #C73D63 #A8C73D #3DC7A1
split-complementary
#5C3DC7 #C7A13D #63C73D
monochromatic
#301F6B #452D9A #5C3DC7 #846CD5 #AC9CE2

Accessibility & contrast

On white

7.13
#5C3DC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5C3DC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3DC7
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3DC7#FFFFFF#000000##FFFFFF
##5C3DC71.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCB
Deuteranopia (green-blind)
#0054C4
Tritanopia (blue-blind)
#2F617D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5c3dc7;
/* rgb */ color: rgb(92, 61, 199);
/* oklch */ color: oklch(48.1% 0.202 286.4);
Tailwind
colors: {
  custom: {
    50: '#9475d9',
    500: '#5c3dc7',
    950: '#000000',
  },
}
SCSS
$custom: #5c3dc7;
$custom-light: #9475d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3dc7",
  "rgb": {
    "r": 92,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 253.478,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48105,
    "c": 0.20169,
    "h": 286.4
  },
  "luminance": 0.09736
}

Semantic roles & 50–950 ramp

primary
#5C3DC7
secondary
#C1CE91
accent
#DF49BD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5C3DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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