#565162#565162

#565162 is a dark, muted violet. Relative luminance 0.087; OKLCH L 44.6% C 0.028 H 298.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#565162
RGBrgb(86, 81, 98)
HSLhsl(258, 9%, 35%)
HSVhsv(258, 17%, 38%)
CMYKcmyk(12.2%, 17.3%, 0%, 61.6%)
CIE-LABlab(35.49, 5.83, -9.12)
CIE-LCHlch(35.49, 10.82, 302.60°)
OKLaboklab(44.61% 0.0135 -0.0247)
OKLCHoklch(44.61% 0.028 298.7)
XYZxyz(8.9844, 8.7451, 12.7676)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565162 #5D6251
analogous
#515562 #565162 #5E5162
triadic
#565162 #625651 #516256
tetradic
#565162 #625155 #5D6251 #51625E
square
#565162 #625155 #5D6251 #51625E
split-complementary
#565162 #625E51 #556251
monochromatic
#1B1A1F #393540 #565162 #736D84 #938DA1

Accessibility & contrast

On white

7.64
#565162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#565162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565162
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565162#FFFFFF#000000##FFFFFF
##5651621.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #565162;
/* rgb */ color: rgb(86, 81, 98);
/* oklch */ color: oklch(44.6% 0.028 298.7);
Tailwind
colors: {
  custom: {
    50: '#85818e',
    500: '#565162',
    950: '#000000',
  },
}
SCSS
$custom: #565162;
$custom-light: #85818e;
$custom-dark: #000000;
JSON
{
  "hex": "#565162",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 98
  },
  "hsl": {
    "h": 257.647,
    "s": 9.497,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44607,
    "c": 0.02813,
    "h": 298.7
  },
  "luminance": 0.08745
}

Semantic roles & 50–950 ramp

primary
#565162
secondary
#8B8F7F
accent
#B275A0
background
#F8F7F8
surface
#EFEEF0
border
#CAC9CB
text
#0B0A0C
muted
#7C7C7D

Preview Lab

Preview with #565162

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

Preview Lab → · Contrast checker → · Palette generator →

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