#5C3ECD#5C3ECD

#5C3ECD is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.8% C 0.208 H 285.4°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5C3ECD
RGBrgb(92, 62, 205)
HSLhsl(253, 59%, 52%)
HSVhsv(253, 70%, 80%)
CMYKcmyk(55.1%, 69.8%, 0%, 19.6%)
CIE-LABlab(38.07, 49.49, -69.64)
CIE-LCHlch(38.07, 85.44, 305.40°)
OKLaboklab(48.77% 0.055 -0.2003)
OKLCHoklch(48.77% 0.208 285.4)
XYZxyz(17.1524, 10.1274, 58.7967)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3ECD #AFCD3E
analogous
#3E68CD #5C3ECD #A33ECD
triadic
#5C3ECD #CD5C3E #3ECD5C
tetradic
#5C3ECD #CD3E68 #AFCD3E #3ECDA3
square
#5C3ECD #CD3E68 #AFCD3E #3ECDA3
split-complementary
#5C3ECD #CDA33E #68CD3E
monochromatic
#301E73 #442AA3 #5C3ECD #856FDA #AE9FE6

Accessibility & contrast

On white

6.94
#5C3ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5C3ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3ECD
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3ECD#FFFFFF#000000##FFFFFF
##5C3ECD1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#0055CA
Tritanopia (blue-blind)
#286481
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5c3ecd;
/* rgb */ color: rgb(92, 62, 205);
/* oklch */ color: oklch(48.8% 0.208 285.4);
Tailwind
colors: {
  custom: {
    50: '#9576dd',
    500: '#5c3ecd',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ecd;
$custom-light: #9576dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ecd",
  "rgb": {
    "r": 92,
    "g": 62,
    "b": 205
  },
  "hsl": {
    "h": 252.587,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48767,
    "c": 0.20774,
    "h": 285.4
  },
  "luminance": 0.10128
}

Semantic roles & 50–950 ramp

primary
#5C3ECD
secondary
#C5D394
accent
#E246C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C3ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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