#5E4E86#5E4E86

#5E4E86 is a mid, moderate violet. Relative luminance 0.096; OKLCH L 46.5% C 0.090 H 295.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5E4E86
RGBrgb(94, 78, 134)
HSLhsl(257, 26%, 42%)
HSVhsv(257, 42%, 53%)
CMYKcmyk(29.9%, 41.8%, 0%, 47.5%)
CIE-LABlab(37.02, 19.78, -29.03)
CIE-LCHlch(37.02, 35.12, 304.27°)
OKLaboklab(46.5% 0.0393 -0.0811)
OKLCHoklch(46.5% 0.09 295.8)
XYZxyz(11.6425, 9.5495, 23.7795)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4E86 #76864E
analogous
#4E5A86 #5E4E86 #7A4E86
triadic
#5E4E86 #865E4E #4E865E
tetradic
#5E4E86 #864E5A #76864E #4E867A
square
#5E4E86 #864E5A #76864E #4E867A
split-complementary
#5E4E86 #867A4E #5A864E
monochromatic
#282139 #43375F #5E4E86 #7B69A8 #9D90BE

Accessibility & contrast

On white

7.22
#5E4E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5E4E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4E86
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4E86#FFFFFF#000000##FFFFFF
##5E4E861.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5788
Deuteranopia (green-blind)
#415685
Tritanopia (blue-blind)
#565863
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e4e86;
/* rgb */ color: rgb(94, 78, 134);
/* oklch */ color: oklch(46.5% 0.090 295.8);
Tailwind
colors: {
  custom: {
    50: '#8d7fa9',
    500: '#5e4e86',
    950: '#000000',
  },
}
SCSS
$custom: #5e4e86;
$custom-light: #8d7fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4e86",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 134
  },
  "hsl": {
    "h": 257.143,
    "s": 26.415,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46495,
    "c": 0.09016,
    "h": 295.8
  },
  "luminance": 0.0955
}

Semantic roles & 50–950 ramp

primary
#5E4E86
secondary
#A0AB85
accent
#C365A8
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #5E4E86

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

Preview Lab → · Contrast checker → · Palette generator →

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