#5E47BF#5E47BF

#5E47BF is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.1% C 0.179 H 286.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5E47BF
RGBrgb(94, 71, 191)
HSLhsl(252, 48%, 51%)
HSVhsv(252, 63%, 75%)
CMYKcmyk(50.8%, 62.8%, 0%, 25.1%)
CIE-LABlab(38.98, 40.64, -60.00)
CIE-LCHlch(38.98, 72.47, 304.11°)
OKLaboklab(49.12% 0.0512 -0.1719)
OKLCHoklch(49.12% 0.179 286.6)
XYZxyz(16.2705, 10.6470, 50.4779)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E47BF #A8BF47
analogous
#476CBF #5E47BF #9A47BF
triadic
#5E47BF #BF5E47 #47BF5E
tetradic
#5E47BF #BF476C #A8BF47 #47BF9A
square
#5E47BF #BF476C #A8BF47 #47BF9A
split-complementary
#5E47BF #BF9A47 #6CBF47
monochromatic
#312468 #463495 #5E47BF #8674CF #ADA2DF

Accessibility & contrast

On white

6.71
#5E47BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5E47BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E47BF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E47BF#FFFFFF#000000##FFFFFF
##5E47BF1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#3A647C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e47bf;
/* rgb */ color: rgb(94, 71, 191);
/* oklch */ color: oklch(49.1% 0.179 286.6);
Tailwind
colors: {
  custom: {
    50: '#947bd3',
    500: '#5e47bf',
    950: '#000000',
  },
}
SCSS
$custom: #5e47bf;
$custom-light: #947bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e47bf",
  "rgb": {
    "r": 94,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 251.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49116,
    "c": 0.17941,
    "h": 286.6
  },
  "luminance": 0.10648
}

Semantic roles & 50–950 ramp

primary
#5E47BF
secondary
#C1CB96
accent
#D850BE
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5E47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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