#562F52#562F52

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

Color values

HEX#562F52
RGBrgb(86, 47, 82)
HSLhsl(306, 29%, 26%)
HSVhsv(306, 45%, 34%)
CMYKcmyk(0%, 45.3%, 4.7%, 66.3%)
CIE-LABlab(25.63, 23.75, -13.83)
CIE-LCHlch(25.63, 27.48, 329.78°)
OKLaboklab(36.85% 0.0672 -0.0375)
OKLCHoklch(36.85% 0.077 330.8)
XYZxyz(6.3772, 4.6210, 8.5370)
Luminance0.0462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562F52 #2F5633
analogous
#462F56 #562F52 #562F3E
triadic
#562F52 #52562F #2F5256
tetradic
#562F52 #56462F #2F5633 #2F3E56
square
#562F52 #56462F #2F5633 #2F3E56
split-complementary
#562F52 #3E562F #2F5646
monochromatic
#140B13 #2E192C #562F52 #7E4578 #A55A9D

Accessibility & contrast

On white

10.91
#562F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562F52
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562F52#FFFFFF#000000##FFFFFF
##562F521.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #562f52;
/* rgb */ color: rgb(86, 47, 82);
/* oklch */ color: oklch(36.8% 0.077 330.8);
Tailwind
colors: {
  custom: {
    50: '#876982',
    500: '#562f52',
    950: '#000000',
  },
}
SCSS
$custom: #562f52;
$custom-light: #876982;
$custom-dark: #000000;
JSON
{
  "hex": "#562f52",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 306.154,
    "s": 29.323,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36845,
    "c": 0.07694,
    "h": 330.8
  },
  "luminance": 0.04621
}

Semantic roles & 50–950 ramp

primary
#562F52
secondary
#59875E
accent
#C66C62
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B060A
muted
#7C7A7C

Preview Lab

Preview with #562F52

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

Preview Lab → · Contrast checker → · Palette generator →

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