#585166#585166

#585166 is a dark, muted violet. Relative luminance 0.089; OKLCH L 45.0% C 0.035 H 300.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#585166
RGBrgb(88, 81, 102)
HSLhsl(260, 11%, 36%)
HSVhsv(260, 21%, 40%)
CMYKcmyk(13.7%, 20.6%, 0%, 60%)
CIE-LABlab(35.83, 7.54, -11.09)
CIE-LCHlch(35.83, 13.41, 304.20°)
OKLaboklab(44.97% 0.0176 -0.0301)
OKLCHoklch(44.97% 0.035 300.2)
XYZxyz(9.3647, 8.9189, 13.7959)
Luminance0.0892 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585166 #5F6651
analogous
#515466 #585166 #625166
triadic
#585166 #665851 #516658
tetradic
#585166 #665154 #5F6651 #516662
square
#585166 #665154 #5F6651 #516662
split-complementary
#585166 #666251 #546651
monochromatic
#1D1B22 #3B3644 #585166 #756C88 #958DA4

Accessibility & contrast

On white

7.54
#585166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#585166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #585166
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585166#FFFFFF#000000##FFFFFF
##5851661.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5467
Deuteranopia (green-blind)
#4E5465
Tritanopia (blue-blind)
#565458
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #585166;
/* rgb */ color: rgb(88, 81, 102);
/* oklch */ color: oklch(45.0% 0.035 300.2);
Tailwind
colors: {
  custom: {
    50: '#878191',
    500: '#585166',
    950: '#000000',
  },
}
SCSS
$custom: #585166;
$custom-light: #878191;
$custom-dark: #000000;
JSON
{
  "hex": "#585166",
  "rgb": {
    "r": 88,
    "g": 81,
    "b": 102
  },
  "hsl": {
    "h": 260,
    "s": 11.475,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44966,
    "c": 0.03487,
    "h": 300.2
  },
  "luminance": 0.08919
}

Semantic roles & 50–950 ramp

primary
#585166
secondary
#8D9380
accent
#B4739F
background
#F8F7F8
surface
#EFEEF0
border
#CAC9CB
text
#0B0A0C
muted
#7C7C7D

Preview Lab

Preview with #585166

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

Preview Lab → · Contrast checker → · Palette generator →

#585166 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva