#5E5674#5E5674

#5E5674 is a mid, muted violet. Relative luminance 0.103; OKLCH L 47.3% C 0.049 H 296.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#5E5674
RGBrgb(94, 86, 116)
HSLhsl(256, 15%, 40%)
HSVhsv(256, 26%, 45%)
CMYKcmyk(19%, 25.9%, 0%, 54.5%)
CIE-LABlab(38.37, 10.02, -15.87)
CIE-LCHlch(38.37, 18.77, 302.26°)
OKLaboklab(47.25% 0.0219 -0.0435)
OKLCHoklch(47.25% 0.049 296.7)
XYZxyz(11.0956, 10.2961, 17.9224)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5674 #6C7456
analogous
#565D74 #5E5674 #6D5674
triadic
#5E5674 #745E56 #56745E
tetradic
#5E5674 #74565D #6C7456 #56746D
square
#5E5674 #74565D #6C7456 #56746D
split-complementary
#5E5674 #746D56 #5D7456
monochromatic
#25222E #423C51 #5E5674 #7B7196 #9C94B0

Accessibility & contrast

On white

6.86
#5E5674 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5E5674 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5674
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5674#FFFFFF#000000##FFFFFF
##5E56741.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e5674;
/* rgb */ color: rgb(94, 86, 116);
/* oklch */ color: oklch(47.3% 0.049 296.7);
Tailwind
colors: {
  custom: {
    50: '#8c859c',
    500: '#5e5674',
    950: '#000000',
  },
}
SCSS
$custom: #5e5674;
$custom-light: #8c859c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5674",
  "rgb": {
    "r": 94,
    "g": 86,
    "b": 116
  },
  "hsl": {
    "h": 256,
    "s": 14.851,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47253,
    "c": 0.04867,
    "h": 296.7
  },
  "luminance": 0.10296
}

Semantic roles & 50–950 ramp

primary
#5E5674
secondary
#989E88
accent
#B870A5
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0B0E
muted
#7D7C7E

Preview Lab

Preview with #5E5674

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

Preview Lab → · Contrast checker → · Palette generator →

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