#5C3FD1#5C3FD1

#5C3FD1 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.3% C 0.211 H 284.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5C3FD1
RGBrgb(92, 63, 209)
HSLhsl(252, 61%, 53%)
HSVhsv(252, 70%, 82%)
CMYKcmyk(56%, 69.9%, 0%, 18%)
CIE-LABlab(38.61, 50.13, -71.07)
CIE-LCHlch(38.61, 86.97, 305.20°)
OKLaboklab(49.26% 0.0535 -0.2045)
OKLCHoklch(49.26% 0.211 284.7)
XYZxyz(17.6963, 10.4327, 61.3905)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3FD1 #B4D13F
analogous
#3F6BD1 #5C3FD1 #A53FD1
triadic
#5C3FD1 #D15C3F #3FD15C
tetradic
#5C3FD1 #D13F6B #B4D13F #3FD1A5
square
#5C3FD1 #D13F6B #B4D13F #3FD1A5
split-complementary
#5C3FD1 #D1A53F #6BD13F
monochromatic
#2F1D79 #4229AA #5C3FD1 #8670DD #B0A2E9

Accessibility & contrast

On white

6.80
#5C3FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5C3FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3FD1
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3FD1#FFFFFF#000000##FFFFFF
##5C3FD11.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD5
Deuteranopia (green-blind)
#0056CE
Tritanopia (blue-blind)
#236683
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c3fd1;
/* rgb */ color: rgb(92, 63, 209);
/* oklch */ color: oklch(49.3% 0.211 284.7);
Tailwind
colors: {
  custom: {
    50: '#9677e0',
    500: '#5c3fd1',
    950: '#000000',
  },
}
SCSS
$custom: #5c3fd1;
$custom-light: #9677e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3fd1",
  "rgb": {
    "r": 92,
    "g": 63,
    "b": 209
  },
  "hsl": {
    "h": 251.918,
    "s": 61.345,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49257,
    "c": 0.2114,
    "h": 284.7
  },
  "luminance": 0.10434
}

Semantic roles & 50–950 ramp

primary
#5C3FD1
secondary
#C9D597
accent
#E443C4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5C3FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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