#5C3BB0#5C3BB0

#5C3BB0 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.9% C 0.176 H 290.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#5C3BB0
RGBrgb(92, 59, 176)
HSLhsl(257, 50%, 46%)
HSVhsv(257, 66%, 69%)
CMYKcmyk(47.7%, 66.5%, 0%, 31%)
CIE-LABlab(35.08, 42.71, -57.51)
CIE-LCHlch(35.08, 71.63, 306.60°)
OKLaboklab(45.88% 0.0624 -0.1647)
OKLCHoklch(45.88% 0.176 290.8)
XYZxyz(13.8119, 8.5373, 41.9860)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3BB0 #8FB03B
analogous
#3B54B0 #5C3BB0 #963BB0
triadic
#5C3BB0 #B05C3B #3BB05C
tetradic
#5C3BB0 #B03B54 #8FB03B #3BB096
square
#5C3BB0 #B03B54 #8FB03B #3BB096
split-complementary
#5C3BB0 #B0963B #54B03B
monochromatic
#2C1C54 #442C82 #5C3BB0 #7D5FC9 #A28DD9

Accessibility & contrast

On white

7.76
#5C3BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5C3BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3BB0
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3BB0#FFFFFF#000000##FFFFFF
##5C3BB01.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#415770
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5c3bb0;
/* rgb */ color: rgb(92, 59, 176);
/* oklch */ color: oklch(45.9% 0.176 290.8);
Tailwind
colors: {
  custom: {
    50: '#9173c8',
    500: '#5c3bb0',
    950: '#000000',
  },
}
SCSS
$custom: #5c3bb0;
$custom-light: #9173c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3bb0",
  "rgb": {
    "r": 92,
    "g": 59,
    "b": 176
  },
  "hsl": {
    "h": 256.923,
    "s": 49.787,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4588,
    "c": 0.17612,
    "h": 290.8
  },
  "luminance": 0.08538
}

Semantic roles & 50–950 ramp

primary
#5C3BB0
secondary
#B1C383
accent
#D94EB2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5C3BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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