#5C3CB8#5C3CB8

#5C3CB8 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.7% C 0.185 H 289.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#5C3CB8
RGBrgb(92, 60, 184)
HSLhsl(255, 51%, 48%)
HSVhsv(255, 67%, 72%)
CMYKcmyk(50%, 67.4%, 0%, 27.8%)
CIE-LABlab(35.92, 44.46, -60.87)
CIE-LCHlch(35.92, 75.38, 306.14°)
OKLaboklab(46.69% 0.0603 -0.1746)
OKLCHoklch(46.69% 0.185 289.1)
XYZxyz(14.6787, 8.9671, 46.2955)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CB8 #98B83C
analogous
#3C5AB8 #5C3CB8 #9A3CB8
triadic
#5C3CB8 #B85C3C #3CB85C
tetradic
#5C3CB8 #B83C5A #98B83C #3CB89A
square
#5C3CB8 #B83C5A #98B83C #3CB89A
split-complementary
#5C3CB8 #B89A3C #5AB83C
monochromatic
#2E1E5C #452D8A #5C3CB8 #7F65CD #A693DC

Accessibility & contrast

On white

7.52
#5C3CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5C3CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3CB8
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CB8#FFFFFF#000000##FFFFFF
##5C3CB81.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#0051B6
Tritanopia (blue-blind)
#3C5B75
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c3cb8;
/* rgb */ color: rgb(92, 60, 184);
/* oklch */ color: oklch(46.7% 0.185 289.1);
Tailwind
colors: {
  custom: {
    50: '#9274ce',
    500: '#5c3cb8',
    950: '#000000',
  },
}
SCSS
$custom: #5c3cb8;
$custom-light: #9274ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3cb8",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 255.484,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46686,
    "c": 0.1847,
    "h": 289.1
  },
  "luminance": 0.08968
}

Semantic roles & 50–950 ramp

primary
#5C3CB8
secondary
#B7C789
accent
#DA4DB6
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5C3CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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