#562F51#562F51

#562F51 is a dark, moderate purple. Relative luminance 0.046; OKLCH L 36.8% C 0.076 H 331.8°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#562F51
RGBrgb(86, 47, 81)
HSLhsl(308, 29%, 26%)
HSVhsv(308, 45%, 34%)
CMYKcmyk(0%, 45.3%, 5.8%, 66.3%)
CIE-LABlab(25.58, 23.54, -13.24)
CIE-LCHlch(25.58, 27.01, 330.65°)
OKLaboklab(36.8% 0.0669 -0.0359)
OKLCHoklch(36.8% 0.076 331.8)
XYZxyz(6.3394, 4.6059, 8.3381)
Luminance0.0461 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562F51 #2F5634
analogous
#472F56 #562F51 #562F3D
triadic
#562F51 #51562F #2F5156
tetradic
#562F51 #56472F #2F5634 #2F3D56
square
#562F51 #56472F #2F5634 #2F3D56
split-complementary
#562F51 #3D562F #2F5647
monochromatic
#140B13 #2E192C #562F51 #7E4576 #A55A9B

Accessibility & contrast

On white

10.93
#562F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#562F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562F51
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562F51#FFFFFF#000000##FFFFFF
##562F511.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3952
Deuteranopia (green-blind)
#383F50
Tritanopia (blue-blind)
#59323C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #562f51;
/* rgb */ color: rgb(86, 47, 81);
/* oklch */ color: oklch(36.8% 0.076 331.8);
Tailwind
colors: {
  custom: {
    50: '#876982',
    500: '#562f51',
    950: '#000000',
  },
}
SCSS
$custom: #562f51;
$custom-light: #876982;
$custom-dark: #000000;
JSON
{
  "hex": "#562f51",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 81
  },
  "hsl": {
    "h": 307.692,
    "s": 29.323,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36796,
    "c": 0.0759,
    "h": 331.8
  },
  "luminance": 0.04606
}

Semantic roles & 50–950 ramp

primary
#562F51
secondary
#59875F
accent
#C66F62
background
#F8F6F7
surface
#EFEBEE
border
#CAC6C9
text
#0B060A
muted
#7C7A7C

Preview Lab

Preview with #562F51

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

Preview Lab → · Contrast checker → · Palette generator →

#562F51 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva