#565262#565262

#565262 is a dark, muted violet. Relative luminance 0.089; OKLCH L 44.8% C 0.026 H 296.8°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#565262
RGBrgb(86, 82, 98)
HSLhsl(255, 9%, 35%)
HSVhsv(255, 16%, 38%)
CMYKcmyk(12.2%, 16.3%, 0%, 61.6%)
CIE-LABlab(35.78, 5.20, -8.68)
CIE-LCHlch(35.78, 10.12, 300.94°)
OKLaboklab(44.83% 0.0118 -0.0235)
OKLCHoklch(44.83% 0.026 296.8)
XYZxyz(9.0592, 8.8948, 12.7925)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565262 #5E6252
analogous
#525662 #565262 #5E5262
triadic
#565262 #625652 #526256
tetradic
#565262 #625256 #5E6252 #52625E
square
#565262 #625256 #5E6252 #52625E
split-complementary
#565262 #625E52 #566252
monochromatic
#1C1A1F #393641 #565262 #736E83 #938EA0

Accessibility & contrast

On white

7.56
#565262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##565262#FFFFFF#000000##FFFFFF
##5652621.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)
#4F5463
Deuteranopia (green-blind)
#4F5462
Tritanopia (blue-blind)
#545457
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #565262;
/* rgb */ color: rgb(86, 82, 98);
/* oklch */ color: oklch(44.8% 0.026 296.8);
Tailwind
colors: {
  custom: {
    50: '#85828e',
    500: '#565262',
    950: '#000000',
  },
}
SCSS
$custom: #565262;
$custom-light: #85828e;
$custom-dark: #000000;
JSON
{
  "hex": "#565262",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 98
  },
  "hsl": {
    "h": 255,
    "s": 8.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44834,
    "c": 0.02628,
    "h": 296.8
  },
  "luminance": 0.08895
}

Semantic roles & 50–950 ramp

primary
#565262
secondary
#8C8F80
accent
#B276A3
background
#F8F7F8
surface
#EFEEF0
border
#CAC9CB
text
#0B0A0C
muted
#7C7C7D

Preview Lab

Preview with #565262

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

Preview Lab → · Contrast checker → · Palette generator →

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