#5E39BC#5E39BC

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

Color values

HEX#5E39BC
RGBrgb(94, 57, 188)
HSLhsl(257, 53%, 48%)
HSVhsv(257, 70%, 74%)
CMYKcmyk(50%, 69.7%, 0%, 26.3%)
CIE-LABlab(35.86, 47.58, -63.32)
CIE-LCHlch(35.86, 79.21, 306.92°)
OKLaboklab(46.79% 0.0653 -0.1817)
OKLCHoklch(46.79% 0.193 289.8)
XYZxyz(15.1537, 8.9361, 48.4936)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E39BC #97BC39
analogous
#3955BC #5E39BC #9F39BC
triadic
#5E39BC #BC5E39 #39BC5E
tetradic
#5E39BC #BC3955 #97BC39 #39BC9F
square
#5E39BC #BC3955 #97BC39 #39BC9F
split-complementary
#5E39BC #BC9F39 #55BC39
monochromatic
#2F1D5E #472B8D #5E39BC #8163D0 #A792DE

Accessibility & contrast

On white

7.53
#5E39BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E39BC
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E39BC#FFFFFF#000000##FFFFFF
##5E39BC1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#3E5B76
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5e39bc;
/* rgb */ color: rgb(94, 57, 188);
/* oklch */ color: oklch(46.8% 0.193 289.8);
Tailwind
colors: {
  custom: {
    50: '#9472d1',
    500: '#5e39bc',
    950: '#000000',
  },
}
SCSS
$custom: #5e39bc;
$custom-light: #9472d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e39bc",
  "rgb": {
    "r": 94,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 256.947,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46793,
    "c": 0.19308,
    "h": 289.8
  },
  "luminance": 0.08937
}

Semantic roles & 50–950 ramp

primary
#5E39BC
secondary
#B7C988
accent
#DD4BB4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E39BC

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

Preview Lab → · Contrast checker → · Palette generator →

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