#5E4E89#5E4E89

#5E4E89 is a mid, moderate violet. Relative luminance 0.096; OKLCH L 46.7% C 0.095 H 295.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#5E4E89
RGBrgb(94, 78, 137)
HSLhsl(256, 27%, 42%)
HSVhsv(256, 43%, 54%)
CMYKcmyk(31.4%, 43.1%, 0%, 46.3%)
CIE-LABlab(37.18, 20.60, -30.61)
CIE-LCHlch(37.18, 36.90, 303.94°)
OKLaboklab(46.67% 0.0399 -0.0858)
OKLCHoklch(46.67% 0.095 295)
XYZxyz(11.8547, 9.6344, 24.8971)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4E89 #79894E
analogous
#4E5C89 #5E4E89 #7C4E89
triadic
#5E4E89 #895E4E #4E895E
tetradic
#5E4E89 #894E5C #79894E #4E897C
square
#5E4E89 #894E5C #79894E #4E897C
split-complementary
#5E4E89 #897C4E #5C894E
monochromatic
#28223B #433862 #5E4E89 #7B6AAA #9E91C0

Accessibility & contrast

On white

7.17
#5E4E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5E4E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4E89
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4E89#FFFFFF#000000##FFFFFF
##5E4E891.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D588B
Deuteranopia (green-blind)
#3F5788
Tritanopia (blue-blind)
#555965
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e4e89;
/* rgb */ color: rgb(94, 78, 137);
/* oklch */ color: oklch(46.7% 0.095 295.0);
Tailwind
colors: {
  custom: {
    50: '#8d7fac',
    500: '#5e4e89',
    950: '#000000',
  },
}
SCSS
$custom: #5e4e89;
$custom-light: #8d7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4e89",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 256.271,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46665,
    "c": 0.09458,
    "h": 295
  },
  "luminance": 0.09635
}

Semantic roles & 50–950 ramp

primary
#5E4E89
secondary
#A2AD86
accent
#C464AA
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #5E4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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