#5C3DD7#5C3DD7

#5C3DD7 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.5% C 0.221 H 284.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5C3DD7
RGBrgb(92, 61, 215)
HSLhsl(252, 66%, 54%)
HSVhsv(252, 72%, 84%)
CMYKcmyk(57.2%, 71.6%, 0%, 15.7%)
CIE-LABlab(38.76, 52.93, -74.29)
CIE-LCHlch(38.76, 91.22, 305.47°)
OKLaboklab(49.52% 0.0539 -0.2139)
OKLCHoklch(49.52% 0.221 284.1)
XYZxyz(18.3444, 10.5180, 65.3403)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3DD7 #B8D73D
analogous
#3D6BD7 #5C3DD7 #A93DD7
triadic
#5C3DD7 #D75C3D #3DD75C
tetradic
#5C3DD7 #D73D6B #B8D73D #3DD7A9
square
#5C3DD7 #D73D6B #B8D73D #3DD7A9
split-complementary
#5C3DD7 #D7A93D #6BD73D
monochromatic
#2F1A7F #4125B2 #5C3DD7 #8770E1 #B1A2EC

Accessibility & contrast

On white

6.77
#5C3DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5C3DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3DD7
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3DD7#FFFFFF#000000##FFFFFF
##5C3DD71.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DC
Deuteranopia (green-blind)
#0056D4
Tritanopia (blue-blind)
#186786
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c3dd7;
/* rgb */ color: rgb(92, 61, 215);
/* oklch */ color: oklch(49.5% 0.221 284.1);
Tailwind
colors: {
  custom: {
    50: '#9776e5',
    500: '#5c3dd7',
    950: '#000000',
  },
}
SCSS
$custom: #5c3dd7;
$custom-light: #9776e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3dd7",
  "rgb": {
    "r": 92,
    "g": 61,
    "b": 215
  },
  "hsl": {
    "h": 252.078,
    "s": 65.812,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49524,
    "c": 0.22061,
    "h": 284.1
  },
  "luminance": 0.10519
}

Semantic roles & 50–950 ramp

primary
#5C3DD7
secondary
#CBD997
accent
#E93FC7
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5C3DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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