#5E4E6E#5E4E6E

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

Color values

HEX#5E4E6E
RGBrgb(94, 78, 110)
HSLhsl(270, 17%, 37%)
HSVhsv(270, 29%, 43%)
CMYKcmyk(14.5%, 29.1%, 0%, 56.9%)
CIE-LABlab(35.90, 13.56, -15.94)
CIE-LCHlch(35.90, 20.93, 310.40°)
OKLaboklab(45.27% 0.033 -0.0436)
OKLCHoklch(45.27% 0.055 307.1)
XYZxyz(10.1544, 8.9543, 15.9422)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4E6E #5E6E4E
analogous
#4E4E6E #5E4E6E #6E4E6E
triadic
#5E4E6E #6E5E4E #4E6E5E
tetradic
#5E4E6E #6E4E4E #5E6E4E #4E6E6E
square
#5E4E6E #6E4E4E #5E6E4E #4E6E6E
split-complementary
#5E4E6E #6E6E4E #4E6E4E
monochromatic
#211B26 #3F354A #5E4E6E #7D6792 #9B8AAC

Accessibility & contrast

On white

7.52
#5E4E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5E4E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4E6E
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4E6E#FFFFFF#000000##FFFFFF
##5E4E6E1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48546F
Deuteranopia (green-blind)
#4B556D
Tritanopia (blue-blind)
#5C5259
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5e4e6e;
/* rgb */ color: rgb(94, 78, 110);
/* oklch */ color: oklch(45.3% 0.055 307.1);
Tailwind
colors: {
  custom: {
    50: '#8c7f97',
    500: '#5e4e6e',
    950: '#000000',
  },
}
SCSS
$custom: #5e4e6e;
$custom-light: #8c7f97;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4e6e",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 110
  },
  "hsl": {
    "h": 270,
    "s": 17.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45266,
    "c": 0.05468,
    "h": 307.1
  },
  "luminance": 0.08954
}

Semantic roles & 50–950 ramp

primary
#5E4E6E
secondary
#8C9A7E
accent
#BA6E94
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C0A0D
muted
#7D7C7E

Preview Lab

Preview with #5E4E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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