#5E39BF#5E39BF

#5E39BF is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.0% C 0.197 H 289.2°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#5E39BF
RGBrgb(94, 57, 191)
HSLhsl(257, 54%, 49%)
HSVhsv(257, 70%, 75%)
CMYKcmyk(50.8%, 70.2%, 0%, 25.1%)
CIE-LABlab(36.11, 48.43, -64.67)
CIE-LCHlch(36.11, 80.80, 306.83°)
OKLaboklab(47.05% 0.0648 -0.1857)
OKLCHoklch(47.05% 0.197 289.2)
XYZxyz(15.4805, 9.0668, 50.2145)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E39BF #9ABF39
analogous
#3957BF #5E39BF #A139BF
triadic
#5E39BF #BF5E39 #39BF5E
tetradic
#5E39BF #BF3957 #9ABF39 #39BFA1
square
#5E39BF #BF3957 #9ABF39 #39BFA1
split-complementary
#5E39BF #BFA139 #57BF39
monochromatic
#301D61 #472B90 #5E39BF #8264D1 #A893DF

Accessibility & contrast

On white

7.46
#5E39BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5E39BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E39BF
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E39BF#FFFFFF#000000##FFFFFF
##5E39BF1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#0052BC
Tritanopia (blue-blind)
#3B5C78
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5e39bf;
/* rgb */ color: rgb(94, 57, 191);
/* oklch */ color: oklch(47.0% 0.197 289.2);
Tailwind
colors: {
  custom: {
    50: '#9572d3',
    500: '#5e39bf',
    950: '#000000',
  },
}
SCSS
$custom: #5e39bf;
$custom-light: #9572d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e39bf",
  "rgb": {
    "r": 94,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 256.567,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4705,
    "c": 0.19664,
    "h": 289.2
  },
  "luminance": 0.09068
}

Semantic roles & 50–950 ramp

primary
#5E39BF
secondary
#B8CA8A
accent
#DD4AB5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E39BF

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

Preview Lab → · Contrast checker → · Palette generator →

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