#5C3CBB#5C3CBB

#5C3CBB is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.9% C 0.188 H 288.5°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#5C3CBB
RGBrgb(92, 60, 187)
HSLhsl(255, 51%, 48%)
HSVhsv(255, 68%, 73%)
CMYKcmyk(50.8%, 67.9%, 0%, 26.7%)
CIE-LABlab(36.16, 45.33, -62.24)
CIE-LCHlch(36.16, 77.00, 306.07°)
OKLaboklab(46.94% 0.0599 -0.1786)
OKLCHoklch(46.94% 0.188 288.5)
XYZxyz(14.9965, 9.0942, 47.9692)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CBB #9BBB3C
analogous
#3C5BBB #5C3CBB #9B3CBB
triadic
#5C3CBB #BB5C3C #3CBB5C
tetradic
#5C3CBB #BB3C5B #9BBB3C #3CBB9B
square
#5C3CBB #BB3C5B #9BBB3C #3CBB9B
split-complementary
#5C3CBB #BB9B3C #5BBB3C
monochromatic
#2E1E5E #452D8D #5C3CBB #8066CE #A795DD

Accessibility & contrast

On white

7.45
#5C3CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5C3CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3CBB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CBB#FFFFFF#000000##FFFFFF
##5C3CBB1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#3A5C76
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c3cbb;
/* rgb */ color: rgb(92, 60, 187);
/* oklch */ color: oklch(46.9% 0.188 288.5);
Tailwind
colors: {
  custom: {
    50: '#9374d0',
    500: '#5c3cbb',
    950: '#000000',
  },
}
SCSS
$custom: #5c3cbb;
$custom-light: #9374d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3cbb",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 255.118,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46937,
    "c": 0.18836,
    "h": 288.5
  },
  "luminance": 0.09095
}

Semantic roles & 50–950 ramp

primary
#5C3CBB
secondary
#B9C88B
accent
#DB4DB7
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5C3CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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