#545161#545161

#545161 is a dark, muted violet. Relative luminance 0.086; OKLCH L 44.4% C 0.026 H 293.9°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#545161
RGBrgb(84, 81, 97)
HSLhsl(251, 9%, 35%)
HSVhsv(251, 16%, 38%)
CMYKcmyk(13.4%, 16.5%, 0%, 62%)
CIE-LABlab(35.27, 4.84, -8.84)
CIE-LCHlch(35.27, 10.08, 298.68°)
OKLaboklab(44.38% 0.0106 -0.0239)
OKLCHoklch(44.38% 0.026 293.9)
XYZxyz(8.7558, 8.6327, 12.5119)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545161 #5E6151
analogous
#515661 #545161 #5C5161
triadic
#545161 #615451 #516154
tetradic
#545161 #615156 #5E6151 #51615C
square
#545161 #615156 #5E6151 #51615C
split-complementary
#545161 #615C51 #566151
monochromatic
#1A191E #373540 #545161 #716D82 #908DA0

Accessibility & contrast

On white

7.70
#545161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#545161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545161
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545161#FFFFFF#000000##FFFFFF
##5451611.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5362
Deuteranopia (green-blind)
#4E5361
Tritanopia (blue-blind)
#525356
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #545161;
/* rgb */ color: rgb(84, 81, 97);
/* oklch */ color: oklch(44.4% 0.026 293.9);
Tailwind
colors: {
  custom: {
    50: '#84818d',
    500: '#545161',
    950: '#000000',
  },
}
SCSS
$custom: #545161;
$custom-light: #84818d;
$custom-dark: #000000;
JSON
{
  "hex": "#545161",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 97
  },
  "hsl": {
    "h": 251.25,
    "s": 8.989,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44377,
    "c": 0.02618,
    "h": 293.9
  },
  "luminance": 0.08633
}

Semantic roles & 50–950 ramp

primary
#545161
secondary
#8C8E7F
accent
#B276A7
background
#F8F7F8
surface
#EFEEF0
border
#CAC9CB
text
#0A0A0C
muted
#7C7C7D

Preview Lab

Preview with #545161

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

Preview Lab → · Contrast checker → · Palette generator →

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