#5E5672#5E5672

#5E5672 is a mid, muted violet. Relative luminance 0.102; OKLCH L 47.2% C 0.046 H 297.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5E5672
RGBrgb(94, 86, 114)
HSLhsl(257, 14%, 39%)
HSVhsv(257, 25%, 45%)
CMYKcmyk(17.5%, 24.6%, 0%, 55.3%)
CIE-LABlab(38.29, 9.52, -14.76)
CIE-LCHlch(38.29, 17.56, 302.82°)
OKLaboklab(47.16% 0.0212 -0.0403)
OKLCHoklch(47.16% 0.046 297.7)
XYZxyz(10.9805, 10.2501, 17.3163)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5672 #6A7256
analogous
#565C72 #5E5672 #6C5672
triadic
#5E5672 #725E56 #56725E
tetradic
#5E5672 #72565C #6A7256 #56726C
square
#5E5672 #72565C #6A7256 #56726C
split-complementary
#5E5672 #726C56 #5C7256
monochromatic
#24212C #413C4F #5E5672 #7B7194 #9C94AE

Accessibility & contrast

On white

6.89
#5E5672 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5E5672 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5672
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5672#FFFFFF#000000##FFFFFF
##5E56721.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505A73
Deuteranopia (green-blind)
#515A71
Tritanopia (blue-blind)
#5A5A60
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5e5672;
/* rgb */ color: rgb(94, 86, 114);
/* oklch */ color: oklch(47.2% 0.046 297.7);
Tailwind
colors: {
  custom: {
    50: '#8c859a',
    500: '#5e5672',
    950: '#000000',
  },
}
SCSS
$custom: #5e5672;
$custom-light: #8c859a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5672",
  "rgb": {
    "r": 94,
    "g": 86,
    "b": 114
  },
  "hsl": {
    "h": 257.143,
    "s": 14,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47163,
    "c": 0.04557,
    "h": 297.7
  },
  "luminance": 0.1025
}

Semantic roles & 50–950 ramp

primary
#5E5672
secondary
#969D87
accent
#B771A3
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0B0E
muted
#7D7C7E

Preview Lab

Preview with #5E5672

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

Preview Lab → · Contrast checker → · Palette generator →

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