#5C3CBF#5C3CBF

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

Color values

HEX#5C3CBF
RGBrgb(92, 60, 191)
HSLhsl(255, 52%, 49%)
HSVhsv(255, 69%, 75%)
CMYKcmyk(51.8%, 68.6%, 0%, 25.1%)
CIE-LABlab(36.50, 46.49, -64.05)
CIE-LCHlch(36.50, 79.15, 305.97°)
OKLaboklab(47.28% 0.0592 -0.1839)
OKLCHoklch(47.28% 0.193 287.8)
XYZxyz(15.4307, 9.2679, 50.2559)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CBF #9FBF3C
analogous
#3C5EBF #5C3CBF #9D3CBF
triadic
#5C3CBF #BF5C3C #3CBF5C
tetradic
#5C3CBF #BF3C5E #9FBF3C #3CBF9D
square
#5C3CBF #BF3C5E #9FBF3C #3CBF9D
split-complementary
#5C3CBF #BF9D3C #5EBF3C
monochromatic
#2F1F62 #462D90 #5C3CBF #8268D0 #A897DE

Accessibility & contrast

On white

7.36
#5C3CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5C3CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3CBF
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CBF#FFFFFF#000000##FFFFFF
##5C3CBF1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c3cbf;
/* rgb */ color: rgb(92, 60, 191);
/* oklch */ color: oklch(47.3% 0.193 287.8);
Tailwind
colors: {
  custom: {
    50: '#9374d3',
    500: '#5c3cbf',
    950: '#000000',
  },
}
SCSS
$custom: #5c3cbf;
$custom-light: #9374d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3cbf",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 191
  },
  "hsl": {
    "h": 254.656,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47276,
    "c": 0.19322,
    "h": 287.8
  },
  "luminance": 0.09269
}

Semantic roles & 50–950 ramp

primary
#5C3CBF
secondary
#BBCA8D
accent
#DC4CB9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C3CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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