#5C3FD5#5C3FD5

#5C3FD5 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.6% C 0.216 H 284.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5C3FD5
RGBrgb(92, 63, 213)
HSLhsl(252, 64%, 54%)
HSVhsv(252, 70%, 84%)
CMYKcmyk(56.8%, 70.4%, 0%, 16.5%)
CIE-LABlab(38.96, 51.30, -72.81)
CIE-LCHlch(38.96, 89.07, 305.17°)
OKLaboklab(49.61% 0.0527 -0.2096)
OKLCHoklch(49.61% 0.216 284.1)
XYZxyz(18.1977, 10.6333, 64.0314)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3FD5 #B8D53F
analogous
#3F6DD5 #5C3FD5 #A73FD5
triadic
#5C3FD5 #D55C3F #3FD55C
tetradic
#5C3FD5 #D53F6D #B8D53F #3FD5A7
square
#5C3FD5 #D53F6D #B8D53F #3FD5A7
split-complementary
#5C3FD5 #D5A73F #6DD53F
monochromatic
#2F1C7E #4127B0 #5C3FD5 #8771E0 #B1A3EB

Accessibility & contrast

On white

6.72
#5C3FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5C3FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3FD5
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3FD5#FFFFFF#000000##FFFFFF
##5C3FD51.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D9
Deuteranopia (green-blind)
#0057D2
Tritanopia (blue-blind)
#1C6786
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5c3fd5;
/* rgb */ color: rgb(92, 63, 213);
/* oklch */ color: oklch(49.6% 0.216 284.1);
Tailwind
colors: {
  custom: {
    50: '#9677e3',
    500: '#5c3fd5',
    950: '#000000',
  },
}
SCSS
$custom: #5c3fd5;
$custom-light: #9677e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3fd5",
  "rgb": {
    "r": 92,
    "g": 63,
    "b": 213
  },
  "hsl": {
    "h": 251.6,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49612,
    "c": 0.21614,
    "h": 284.1
  },
  "luminance": 0.10634
}

Semantic roles & 50–950 ramp

primary
#5C3FD5
secondary
#CBD898
accent
#E741C7
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5C3FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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