#5E47BB#5E47BB

#5E47BB is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.8% C 0.174 H 287.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5E47BB
RGBrgb(94, 71, 187)
HSLhsl(252, 46%, 51%)
HSVhsv(252, 62%, 73%)
CMYKcmyk(49.7%, 62%, 0%, 26.7%)
CIE-LABlab(38.68, 39.45, -58.14)
CIE-LCHlch(38.68, 70.26, 304.16°)
OKLaboklab(48.8% 0.0515 -0.1665)
OKLCHoklch(48.8% 0.174 287.2)
XYZxyz(15.8363, 10.4733, 48.1912)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E47BB #A4BB47
analogous
#476ABB #5E47BB #9847BB
triadic
#5E47BB #BB5E47 #47BB5E
tetradic
#5E47BB #BB476A #A4BB47 #47BB98
square
#5E47BB #BB476A #A4BB47 #47BB98
split-complementary
#5E47BB #BB9847 #6ABB47
monochromatic
#312563 #473590 #5E47BB #8574CC #ACA0DC

Accessibility & contrast

On white

6.79
#5E47BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5E47BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E47BB
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E47BB#FFFFFF#000000##FFFFFF
##5E47BB1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#3D627A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e47bb;
/* rgb */ color: rgb(94, 71, 187);
/* oklch */ color: oklch(48.8% 0.174 287.2);
Tailwind
colors: {
  custom: {
    50: '#937bd0',
    500: '#5e47bb',
    950: '#000000',
  },
}
SCSS
$custom: #5e47bb;
$custom-light: #937bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e47bb",
  "rgb": {
    "r": 94,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 251.897,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48802,
    "c": 0.17428,
    "h": 287.2
  },
  "luminance": 0.10474
}

Semantic roles & 50–950 ramp

primary
#5E47BB
secondary
#BEC995
accent
#D652BC
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5E47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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