#5E39BE#5E39BE

#5E39BE is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.195 H 289.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#5E39BE
RGBrgb(94, 57, 190)
HSLhsl(257, 54%, 48%)
HSVhsv(257, 70%, 75%)
CMYKcmyk(50.5%, 70%, 0%, 25.5%)
CIE-LABlab(36.03, 48.15, -64.22)
CIE-LCHlch(36.03, 80.27, 306.86°)
OKLaboklab(46.96% 0.065 -0.1843)
OKLCHoklch(46.96% 0.195 289.4)
XYZxyz(15.3708, 9.0230, 49.6369)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E39BE #99BE39
analogous
#3956BE #5E39BE #A039BE
triadic
#5E39BE #BE5E39 #39BE5E
tetradic
#5E39BE #BE3956 #99BE39 #39BEA0
square
#5E39BE #BE3956 #99BE39 #39BEA0
split-complementary
#5E39BE #BEA039 #56BE39
monochromatic
#2F1D60 #472B8F #5E39BE #8264D0 #A893DF

Accessibility & contrast

On white

7.49
#5E39BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5E39BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E39BE
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E39BE#FFFFFF#000000##FFFFFF
##5E39BE1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#3C5B77
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5e39be;
/* rgb */ color: rgb(94, 57, 190);
/* oklch */ color: oklch(47.0% 0.195 289.4);
Tailwind
colors: {
  custom: {
    50: '#9472d3',
    500: '#5e39be',
    950: '#000000',
  },
}
SCSS
$custom: #5e39be;
$custom-light: #9472d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e39be",
  "rgb": {
    "r": 94,
    "g": 57,
    "b": 190
  },
  "hsl": {
    "h": 256.692,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46964,
    "c": 0.19545,
    "h": 289.4
  },
  "luminance": 0.09024
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E39BE

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

Preview Lab → · Contrast checker → · Palette generator →

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