#562B52#562B52

#562B52 is a dark, moderate purple. Relative luminance 0.043; OKLCH L 36.1% C 0.085 H 330.7°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#562B52
RGBrgb(86, 43, 82)
HSLhsl(306, 33%, 25%)
HSVhsv(306, 50%, 34%)
CMYKcmyk(0%, 50%, 4.7%, 66.3%)
CIE-LABlab(24.69, 26.16, -15.28)
CIE-LCHlch(24.69, 30.29, 329.71°)
OKLaboklab(36.14% 0.074 -0.0416)
OKLCHoklch(36.14% 0.085 330.7)
XYZxyz(6.2246, 4.3157, 8.4862)
Luminance0.0432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B52 #2B562F
analogous
#442B56 #562B52 #562B3D
triadic
#562B52 #52562B #2B5256
tetradic
#562B52 #56442B #2B562F #2B3D56
square
#562B52 #56442B #2B562F #2B3D56
split-complementary
#562B52 #3D562B #2B5644
monochromatic
#140A13 #2D172B #562B52 #7F3F79 #A854A0

Accessibility & contrast

On white

11.27
#562B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#562B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562B52
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B52#FFFFFF#000000##FFFFFF
##562B521.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293753
Deuteranopia (green-blind)
#353D51
Tritanopia (blue-blind)
#592E3A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #562b52;
/* rgb */ color: rgb(86, 43, 82);
/* oklch */ color: oklch(36.1% 0.085 330.7);
Tailwind
colors: {
  custom: {
    50: '#876682',
    500: '#562b52',
    950: '#000000',
  },
}
SCSS
$custom: #562b52;
$custom-light: #876682;
$custom-dark: #000000;
JSON
{
  "hex": "#562b52",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 82
  },
  "hsl": {
    "h": 305.581,
    "s": 33.333,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36144,
    "c": 0.08491,
    "h": 330.7
  },
  "luminance": 0.04315
}

Semantic roles & 50–950 ramp

primary
#562B52
secondary
#558859
accent
#C9685E
background
#F8F6F8
surface
#F0EBEF
border
#CBC6CA
text
#0B060A
muted
#7C7A7C

Preview Lab

Preview with #562B52

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

Preview Lab → · Contrast checker → · Palette generator →

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