#5E4E84#5E4E84

#5E4E84 is a mid, moderate violet. Relative luminance 0.095; OKLCH L 46.4% C 0.087 H 296.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5E4E84
RGBrgb(94, 78, 132)
HSLhsl(258, 26%, 41%)
HSVhsv(258, 41%, 52%)
CMYKcmyk(28.8%, 40.9%, 0%, 48.2%)
CIE-LABlab(36.92, 19.23, -27.96)
CIE-LCHlch(36.92, 33.94, 304.52°)
OKLaboklab(46.38% 0.0389 -0.078)
OKLCHoklch(46.38% 0.087 296.5)
XYZxyz(11.5043, 9.4943, 23.0518)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4E84 #74844E
analogous
#4E5984 #5E4E84 #794E84
triadic
#5E4E84 #845E4E #4E845E
tetradic
#5E4E84 #844E59 #74844E #4E8479
square
#5E4E84 #844E59 #74844E #4E8479
split-complementary
#5E4E84 #84794E #59844E
monochromatic
#272137 #43375E #5E4E84 #7B69A6 #9D8FBD

Accessibility & contrast

On white

7.24
#5E4E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5E4E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4E84
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4E84#FFFFFF#000000##FFFFFF
##5E4E841.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5786
Deuteranopia (green-blind)
#425683
Tritanopia (blue-blind)
#565762
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e4e84;
/* rgb */ color: rgb(94, 78, 132);
/* oklch */ color: oklch(46.4% 0.087 296.5);
Tailwind
colors: {
  custom: {
    50: '#8d7fa8',
    500: '#5e4e84',
    950: '#000000',
  },
}
SCSS
$custom: #5e4e84;
$custom-light: #8d7fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4e84",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 132
  },
  "hsl": {
    "h": 257.778,
    "s": 25.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46384,
    "c": 0.08721,
    "h": 296.5
  },
  "luminance": 0.09494
}

Semantic roles & 50–950 ramp

primary
#5E4E84
secondary
#9FAA84
accent
#C266A7
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A0F
muted
#7D7C7F

Preview Lab

Preview with #5E4E84

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

Preview Lab → · Contrast checker → · Palette generator →

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