#5C39BB#5C39BB

#5C39BB is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.5% C 0.192 H 289.1°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#5C39BB
RGBrgb(92, 57, 187)
HSLhsl(256, 53%, 48%)
HSVhsv(256, 70%, 73%)
CMYKcmyk(50.8%, 69.5%, 0%, 26.7%)
CIE-LABlab(35.57, 46.96, -63.21)
CIE-LCHlch(35.57, 78.74, 306.61°)
OKLaboklab(46.51% 0.0627 -0.1814)
OKLCHoklch(46.51% 0.192 289.1)
XYZxyz(14.8438, 8.7888, 47.9183)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C39BB #98BB39
analogous
#3957BB #5C39BB #9D39BB
triadic
#5C39BB #BB5C39 #39BB5C
tetradic
#5C39BB #BB3957 #98BB39 #39BB9D
square
#5C39BB #BB3957 #98BB39 #39BB9D
split-complementary
#5C39BB #BB9D39 #57BB39
monochromatic
#2E1C5D #452B8C #5C39BB #7F62CF #A691DD

Accessibility & contrast

On white

7.61
#5C39BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5C39BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C39BB
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C39BB#FFFFFF#000000##FFFFFF
##5C39BB1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#3A5A76
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c39bb;
/* rgb */ color: rgb(92, 57, 187);
/* oklch */ color: oklch(46.5% 0.192 289.1);
Tailwind
colors: {
  custom: {
    50: '#9372d0',
    500: '#5c39bb',
    950: '#000000',
  },
}
SCSS
$custom: #5c39bb;
$custom-light: #9372d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c39bb",
  "rgb": {
    "r": 92,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 256.154,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46514,
    "c": 0.19195,
    "h": 289.1
  },
  "luminance": 0.08789
}

Semantic roles & 50–950 ramp

primary
#5C39BB
secondary
#B7C887
accent
#DD4BB5
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5C39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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