#5C3ECB#5C3ECB

#5C3ECB is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.6% C 0.205 H 285.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5C3ECB
RGBrgb(92, 62, 203)
HSLhsl(253, 58%, 52%)
HSVhsv(253, 69%, 80%)
CMYKcmyk(54.7%, 69.5%, 0%, 20.4%)
CIE-LABlab(37.90, 48.91, -68.76)
CIE-LCHlch(37.90, 84.38, 305.42°)
OKLaboklab(48.59% 0.0554 -0.1977)
OKLCHoklch(48.59% 0.205 285.6)
XYZxyz(16.9125, 10.0314, 57.5334)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3ECB #ADCB3E
analogous
#3E67CB #5C3ECB #A33ECB
triadic
#5C3ECB #CB5C3E #3ECB5C
tetradic
#5C3ECB #CB3E67 #ADCB3E #3ECBA3
square
#5C3ECB #CB3E67 #ADCB3E #3ECBA3
split-complementary
#5C3ECB #CBA33E #67CB3E
monochromatic
#301E70 #442BA1 #5C3ECB #856ED8 #AD9EE5

Accessibility & contrast

On white

6.99
#5C3ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5C3ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3ECB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3ECB#FFFFFF#000000##FFFFFF
##5C3ECB1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#0055C8
Tritanopia (blue-blind)
#2B6380
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5c3ecb;
/* rgb */ color: rgb(92, 62, 203);
/* oklch */ color: oklch(48.6% 0.205 285.6);
Tailwind
colors: {
  custom: {
    50: '#9576dc',
    500: '#5c3ecb',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ecb;
$custom-light: #9576dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ecb",
  "rgb": {
    "r": 92,
    "g": 62,
    "b": 203
  },
  "hsl": {
    "h": 252.766,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48592,
    "c": 0.20535,
    "h": 285.6
  },
  "luminance": 0.10032
}

Semantic roles & 50–950 ramp

primary
#5C3ECB
secondary
#C4D194
accent
#E147C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C3ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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