#5C3DBE#5C3DBE

#5C3DBE is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.3% C 0.191 H 287.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#5C3DBE
RGBrgb(92, 61, 190)
HSLhsl(254, 51%, 49%)
HSVhsv(254, 68%, 75%)
CMYKcmyk(51.6%, 67.9%, 0%, 25.5%)
CIE-LABlab(36.61, 45.65, -63.28)
CIE-LCHlch(36.61, 78.03, 305.81°)
OKLaboklab(47.33% 0.0584 -0.1816)
OKLCHoklch(47.33% 0.191 287.8)
XYZxyz(15.3739, 9.3298, 49.6960)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3DBE #9FBE3D
analogous
#3D5FBE #5C3DBE #9D3DBE
triadic
#5C3DBE #BE5C3D #3DBE5C
tetradic
#5C3DBE #BE3D5F #9FBE3D #3DBE9D
square
#5C3DBE #BE3D5F #9FBE3D #3DBE9D
split-complementary
#5C3DBE #BE9D3D #5FBE3D
monochromatic
#2F1F61 #462E90 #5C3DBE #8269CF #A898DE

Accessibility & contrast

On white

7.33
#5C3DBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5C3DBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3DBE
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3DBE#FFFFFF#000000##FFFFFF
##5C3DBE1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#375E78
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c3dbe;
/* rgb */ color: rgb(92, 61, 190);
/* oklch */ color: oklch(47.3% 0.191 287.8);
Tailwind
colors: {
  custom: {
    50: '#9375d3',
    500: '#5c3dbe',
    950: '#000000',
  },
}
SCSS
$custom: #5c3dbe;
$custom-light: #9375d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3dbe",
  "rgb": {
    "r": 92,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 254.419,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47334,
    "c": 0.19081,
    "h": 287.8
  },
  "luminance": 0.09331
}

Semantic roles & 50–950 ramp

primary
#5C3DBE
secondary
#BBC98D
accent
#DB4DB9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C3DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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