#5C39BE#5C39BE

#5C39BE is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.8% C 0.196 H 288.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5C39BE
RGBrgb(92, 57, 190)
HSLhsl(256, 54%, 48%)
HSVhsv(256, 70%, 75%)
CMYKcmyk(51.6%, 70%, 0%, 25.5%)
CIE-LABlab(35.83, 47.82, -64.56)
CIE-LCHlch(35.83, 80.34, 306.53°)
OKLaboklab(46.77% 0.0621 -0.1854)
OKLCHoklch(46.77% 0.196 288.5)
XYZxyz(15.1683, 8.9186, 49.6274)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C39BE #9BBE39
analogous
#3959BE #5C39BE #9E39BE
triadic
#5C39BE #BE5C39 #39BE5C
tetradic
#5C39BE #BE3959 #9BBE39 #39BE9E
square
#5C39BE #BE3959 #9BBE39 #39BE9E
split-complementary
#5C39BE #BE9E39 #59BE39
monochromatic
#2E1D60 #452B8F #5C39BE #8064D0 #A793DF

Accessibility & contrast

On white

7.54
#5C39BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5C39BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C39BE
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C39BE#FFFFFF#000000##FFFFFF
##5C39BE1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#385B77
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c39be;
/* rgb */ color: rgb(92, 57, 190);
/* oklch */ color: oklch(46.8% 0.196 288.5);
Tailwind
colors: {
  custom: {
    50: '#9372d3',
    500: '#5c39be',
    950: '#000000',
  },
}
SCSS
$custom: #5c39be;
$custom-light: #9372d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c39be",
  "rgb": {
    "r": 92,
    "g": 57,
    "b": 190
  },
  "hsl": {
    "h": 255.789,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46773,
    "c": 0.19552,
    "h": 288.5
  },
  "luminance": 0.08919
}

Semantic roles & 50–950 ramp

primary
#5C39BE
secondary
#B9CA89
accent
#DD4BB7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C39BE

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

Preview Lab → · Contrast checker → · Palette generator →

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