#5F4E68#5F4E68

#5F4E68 is a mid, muted violet. Relative luminance 0.089; OKLCH L 45.1% C 0.047 H 313.8°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#5F4E68
RGBrgb(95, 78, 104)
HSLhsl(279, 14%, 36%)
HSVhsv(279, 25%, 41%)
CMYKcmyk(8.7%, 25%, 0%, 59.2%)
CIE-LABlab(35.75, 12.50, -12.39)
CIE-LCHlch(35.75, 17.60, 315.26°)
OKLaboklab(45.1% 0.0323 -0.0336)
OKLCHoklch(45.1% 0.047 313.8)
XYZxyz(9.9420, 8.8813, 14.2845)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4E68 #57684E
analogous
#524E68 #5F4E68 #684E64
triadic
#5F4E68 #685F4E #4E685F
tetradic
#5F4E68 #68524E #57684E #4E6468
square
#5F4E68 #68524E #57684E #4E6468
split-complementary
#5F4E68 #64684E #4E6852
monochromatic
#1F1A22 #3F3445 #5F4E68 #7F688B #9D8AA7

Accessibility & contrast

On white

7.56
#5F4E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5F4E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F4E68
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4E68#FFFFFF#000000##FFFFFF
##5F4E681.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5369
Deuteranopia (green-blind)
#4E5567
Tritanopia (blue-blind)
#5E5157
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5f4e68;
/* rgb */ color: rgb(95, 78, 104);
/* oklch */ color: oklch(45.1% 0.047 313.8);
Tailwind
colors: {
  custom: {
    50: '#8c7f93',
    500: '#5f4e68',
    950: '#000000',
  },
}
SCSS
$custom: #5f4e68;
$custom-light: #8c7f93;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4e68",
  "rgb": {
    "r": 95,
    "g": 78,
    "b": 104
  },
  "hsl": {
    "h": 279.231,
    "s": 14.286,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45101,
    "c": 0.0466,
    "h": 313.8
  },
  "luminance": 0.08881
}

Semantic roles & 50–950 ramp

primary
#5F4E68
secondary
#85957D
accent
#B77189
background
#F8F7F9
surface
#F0EEF1
border
#CBC9CB
text
#0C0A0D
muted
#7D7C7E

Preview Lab

Preview with #5F4E68

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

Preview Lab → · Contrast checker → · Palette generator →

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