#585161#585161

#585161 is a dark, muted violet. Relative luminance 0.088; OKLCH L 44.8% C 0.027 H 305.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#585161
RGBrgb(88, 81, 97)
HSLhsl(266, 9%, 35%)
HSVhsv(266, 16%, 38%)
CMYKcmyk(9.3%, 16.5%, 0%, 62%)
CIE-LABlab(35.64, 6.35, -8.24)
CIE-LCHlch(35.64, 10.41, 307.61°)
OKLaboklab(44.76% 0.0156 -0.0222)
OKLCHoklch(44.76% 0.027 305.1)
XYZxyz(9.1242, 8.8227, 12.5292)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585161 #5A6151
analogous
#515261 #585161 #605161
triadic
#585161 #615851 #516158
tetradic
#585161 #615152 #5A6151 #516160
square
#585161 #615152 #5A6151 #516160
split-complementary
#585161 #616051 #526151
monochromatic
#1B191E #3A3540 #585161 #766D82 #958DA0

Accessibility & contrast

On white

7.60
#585161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#585161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #585161
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585161#FFFFFF#000000##FFFFFF
##5851611.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5462
Deuteranopia (green-blind)
#505460
Tritanopia (blue-blind)
#575356
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #585161;
/* rgb */ color: rgb(88, 81, 97);
/* oklch */ color: oklch(44.8% 0.027 305.1);
Tailwind
colors: {
  custom: {
    50: '#87818d',
    500: '#585161',
    950: '#000000',
  },
}
SCSS
$custom: #585161;
$custom-light: #87818d;
$custom-dark: #000000;
JSON
{
  "hex": "#585161",
  "rgb": {
    "r": 88,
    "g": 81,
    "b": 97
  },
  "hsl": {
    "h": 266.25,
    "s": 8.989,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44758,
    "c": 0.02717,
    "h": 305.1
  },
  "luminance": 0.08823
}

Semantic roles & 50–950 ramp

primary
#585161
secondary
#888E7F
accent
#B27698
background
#F8F7F8
surface
#EFEEF0
border
#CAC9CB
text
#0B0A0C
muted
#7C7C7D

Preview Lab

Preview with #585161

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

Preview Lab → · Contrast checker → · Palette generator →

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