#5E4E6F#5E4E6F

#5E4E6F is a mid, muted violet. Relative luminance 0.090; OKLCH L 45.3% C 0.056 H 306.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#5E4E6F
RGBrgb(94, 78, 111)
HSLhsl(269, 17%, 37%)
HSVhsv(269, 30%, 44%)
CMYKcmyk(15.3%, 29.7%, 0%, 56.5%)
CIE-LABlab(35.94, 13.80, -16.50)
CIE-LCHlch(35.94, 21.51, 309.93°)
OKLaboklab(45.31% 0.0333 -0.0452)
OKLCHoklch(45.31% 0.056 306.4)
XYZxyz(10.2092, 8.9762, 16.2306)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4E6F #5F6F4E
analogous
#4E4F6F #5E4E6F #6F4E6F
triadic
#5E4E6F #6F5E4E #4E6F5E
tetradic
#5E4E6F #6F4E4F #5F6F4E #4E6F6F
square
#5E4E6F #6F4E4F #5F6F4E #4E6F6F
split-complementary
#5E4E6F #6F6F4E #4F6F4E
monochromatic
#211B27 #40354B #5E4E6F #7C6793 #9B8AAD

Accessibility & contrast

On white

7.51
#5E4E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5E4E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4E6F
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4E6F#FFFFFF#000000##FFFFFF
##5E4E6F1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485470
Deuteranopia (green-blind)
#4B556E
Tritanopia (blue-blind)
#5C535A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5e4e6f;
/* rgb */ color: rgb(94, 78, 111);
/* oklch */ color: oklch(45.3% 0.056 306.4);
Tailwind
colors: {
  custom: {
    50: '#8c7f98',
    500: '#5e4e6f',
    950: '#000000',
  },
}
SCSS
$custom: #5e4e6f;
$custom-light: #8c7f98;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4e6f",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 111
  },
  "hsl": {
    "h": 269.091,
    "s": 17.46,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45313,
    "c": 0.05614,
    "h": 306.4
  },
  "luminance": 0.08976
}

Semantic roles & 50–950 ramp

primary
#5E4E6F
secondary
#8D9A7E
accent
#BA6E95
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C0A0D
muted
#7D7C7E

Preview Lab

Preview with #5E4E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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