#5E47BA#5E47BA

#5E47BA is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.7% C 0.173 H 287.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5E47BA
RGBrgb(94, 71, 186)
HSLhsl(252, 45%, 50%)
HSVhsv(252, 62%, 73%)
CMYKcmyk(49.5%, 61.8%, 0%, 27.1%)
CIE-LABlab(38.60, 39.15, -57.68)
CIE-LCHlch(38.60, 69.71, 304.17°)
OKLaboklab(48.73% 0.0516 -0.1651)
OKLCHoklch(48.73% 0.173 287.4)
XYZxyz(15.7297, 10.4306, 47.6294)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E47BA #A3BA47
analogous
#4769BA #5E47BA #9747BA
triadic
#5E47BA #BA5E47 #47BA5E
tetradic
#5E47BA #BA4769 #A3BA47 #47BA97
square
#5E47BA #BA4769 #A3BA47 #47BA97
split-complementary
#5E47BA #BA9747 #69BA47
monochromatic
#312562 #47358E #5E47BA #8574CB #ACA0DB

Accessibility & contrast

On white

6.80
#5E47BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E47BA
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E47BA#FFFFFF#000000##FFFFFF
##5E47BA1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#3E627A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e47ba;
/* rgb */ color: rgb(94, 71, 186);
/* oklch */ color: oklch(48.7% 0.173 287.4);
Tailwind
colors: {
  custom: {
    50: '#937bd0',
    500: '#5e47ba',
    950: '#000000',
  },
}
SCSS
$custom: #5e47ba;
$custom-light: #937bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e47ba",
  "rgb": {
    "r": 94,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 252,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48725,
    "c": 0.17299,
    "h": 287.4
  },
  "luminance": 0.10431
}

Semantic roles & 50–950 ramp

primary
#5E47BA
secondary
#BEC895
accent
#D553BB
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5E47BA

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

Preview Lab → · Contrast checker → · Palette generator →

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