#5C3DBF#5C3DBF

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

Color values

HEX#5C3DBF
RGBrgb(92, 61, 191)
HSLhsl(254, 52%, 49%)
HSVhsv(254, 68%, 75%)
CMYKcmyk(51.8%, 68.1%, 0%, 25.1%)
CIE-LABlab(36.69, 45.95, -63.73)
CIE-LCHlch(36.69, 78.57, 305.79°)
OKLaboklab(47.42% 0.0583 -0.183)
OKLCHoklch(47.42% 0.192 287.7)
XYZxyz(15.4836, 9.3736, 50.2736)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3DBF #A0BF3D
analogous
#3D5FBF #5C3DBF #9D3DBF
triadic
#5C3DBF #BF5C3D #3DBF5C
tetradic
#5C3DBF #BF3D5F #A0BF3D #3DBF9D
square
#5C3DBF #BF3D5F #A0BF3D #3DBF9D
split-complementary
#5C3DBF #BF9D3D #5FBF3D
monochromatic
#2F1F62 #462E91 #5C3DBF #826ACF #A998DE

Accessibility & contrast

On white

7.30
#5C3DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C3DBF
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3DBF#FFFFFF#000000##FFFFFF
##5C3DBF1.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#375E79
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c3dbf;
/* rgb */ color: rgb(92, 61, 191);
/* oklch */ color: oklch(47.4% 0.192 287.7);
Tailwind
colors: {
  custom: {
    50: '#9375d3',
    500: '#5c3dbf',
    950: '#000000',
  },
}
SCSS
$custom: #5c3dbf;
$custom-light: #9375d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3dbf",
  "rgb": {
    "r": 92,
    "g": 61,
    "b": 191
  },
  "hsl": {
    "h": 254.308,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47419,
    "c": 0.19203,
    "h": 287.7
  },
  "luminance": 0.09374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C3DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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