#5C3EBD#5C3EBD

#5C3EBD is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.4% C 0.188 H 287.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5C3EBD
RGBrgb(92, 62, 189)
HSLhsl(254, 51%, 49%)
HSVhsv(254, 67%, 74%)
CMYKcmyk(51.3%, 67.2%, 0%, 25.9%)
CIE-LABlab(36.73, 44.81, -62.49)
CIE-LCHlch(36.73, 76.90, 305.64°)
OKLaboklab(47.4% 0.0577 -0.1793)
OKLCHoklch(47.4% 0.188 287.8)
XYZxyz(15.3189, 9.3940, 49.1403)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3EBD #9FBD3E
analogous
#3E60BD #5C3EBD #9C3EBD
triadic
#5C3EBD #BD5C3E #3EBD5C
tetradic
#5C3EBD #BD3E60 #9FBD3E #3EBD9C
square
#5C3EBD #BD3E60 #9FBD3E #3EBD9C
split-complementary
#5C3EBD #BD9C3E #60BD3E
monochromatic
#2F2061 #462F8F #5C3EBD #826ACE #A898DD

Accessibility & contrast

On white

7.29
#5C3EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5C3EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3EBD
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3EBD#FFFFFF#000000##FFFFFF
##5C3EBD1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#385E78
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c3ebd;
/* rgb */ color: rgb(92, 62, 189);
/* oklch */ color: oklch(47.4% 0.188 287.8);
Tailwind
colors: {
  custom: {
    50: '#9375d2',
    500: '#5c3ebd',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ebd;
$custom-light: #9375d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ebd",
  "rgb": {
    "r": 92,
    "g": 62,
    "b": 189
  },
  "hsl": {
    "h": 254.173,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47395,
    "c": 0.18838,
    "h": 287.8
  },
  "luminance": 0.09395
}

Semantic roles & 50–950 ramp

primary
#5C3EBD
secondary
#BBC98E
accent
#DA4EB9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C3EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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