#5E47B0#5E47B0

#5E47B0 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.0% C 0.160 H 289.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5E47B0
RGBrgb(94, 71, 176)
HSLhsl(253, 43%, 48%)
HSVhsv(253, 60%, 69%)
CMYKcmyk(46.6%, 59.7%, 0%, 31%)
CIE-LABlab(37.88, 36.17, -52.95)
CIE-LCHlch(37.88, 64.13, 304.34°)
OKLaboklab(47.96% 0.0521 -0.1512)
OKLCHoklch(47.96% 0.16 289)
XYZxyz(14.7036, 10.0202, 42.2252)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E47B0 #99B047
analogous
#4764B0 #5E47B0 #9247B0
triadic
#5E47B0 #B05E47 #47B05E
tetradic
#5E47B0 #B04764 #99B047 #47B092
square
#5E47B0 #B04764 #99B047 #47B092
split-complementary
#5E47B0 #B09247 #64B047
monochromatic
#2F2459 #473584 #5E47B0 #826FC5 #A89BD7

Accessibility & contrast

On white

6.99
#5E47B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#5E47B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E47B0
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E47B0#FFFFFF#000000##FFFFFF
##5E47B01.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#0057AE
Tritanopia (blue-blind)
#445F74
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5e47b0;
/* rgb */ color: rgb(94, 71, 176);
/* oklch */ color: oklch(48.0% 0.160 289.0);
Tailwind
colors: {
  custom: {
    50: '#927bc8',
    500: '#5e47b0',
    950: '#000000',
  },
}
SCSS
$custom: #5e47b0;
$custom-light: #927bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e47b0",
  "rgb": {
    "r": 94,
    "g": 71,
    "b": 176
  },
  "hsl": {
    "h": 253.143,
    "s": 42.51,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47964,
    "c": 0.15994,
    "h": 289
  },
  "luminance": 0.10021
}

Semantic roles & 50–950 ramp

primary
#5E47B0
secondary
#B8C390
accent
#D256B7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5E47B0

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

Preview Lab → · Contrast checker → · Palette generator →

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