#5C3FBD#5C3FBD

#5C3FBD is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.5% C 0.187 H 287.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5C3FBD
RGBrgb(92, 63, 189)
HSLhsl(254, 50%, 49%)
HSVhsv(254, 67%, 74%)
CMYKcmyk(51.3%, 66.7%, 0%, 25.9%)
CIE-LABlab(36.94, 44.25, -62.16)
CIE-LCHlch(36.94, 76.30, 305.45°)
OKLaboklab(47.54% 0.0567 -0.1784)
OKLCHoklch(47.54% 0.187 287.6)
XYZxyz(15.3738, 9.5037, 49.1586)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3FBD #A0BD3F
analogous
#3F61BD #5C3FBD #9B3FBD
triadic
#5C3FBD #BD5C3F #3FBD5C
tetradic
#5C3FBD #BD3F61 #A0BD3F #3FBD9B
square
#5C3FBD #BD3F61 #A0BD3F #3FBD9B
split-complementary
#5C3FBD #BD9B3F #61BD3F
monochromatic
#2F2061 #46308F #5C3FBD #826BCE #A999DD

Accessibility & contrast

On white

7.24
#5C3FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5C3FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3FBD
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3FBD#FFFFFF#000000##FFFFFF
##5C3FBD1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#385E79
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c3fbd;
/* rgb */ color: rgb(92, 63, 189);
/* oklch */ color: oklch(47.5% 0.187 287.6);
Tailwind
colors: {
  custom: {
    50: '#9376d2',
    500: '#5c3fbd',
    950: '#000000',
  },
}
SCSS
$custom: #5c3fbd;
$custom-light: #9376d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3fbd",
  "rgb": {
    "r": 92,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 253.81,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47542,
    "c": 0.18715,
    "h": 287.6
  },
  "luminance": 0.09504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C3FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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