#562E52#562E52

#562E52 is a dark, moderate purple. Relative luminance 0.045; OKLCH L 36.7% C 0.079 H 330.8°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#562E52
RGBrgb(86, 46, 82)
HSLhsl(306, 30%, 26%)
HSVhsv(306, 47%, 34%)
CMYKcmyk(0%, 46.5%, 4.7%, 66.3%)
CIE-LABlab(25.39, 24.36, -14.20)
CIE-LCHlch(25.39, 28.19, 329.76°)
OKLaboklab(36.67% 0.0689 -0.0386)
OKLCHoklch(36.67% 0.079 330.8)
XYZxyz(6.3377, 4.5420, 8.5239)
Luminance0.0454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E52 #2E5632
analogous
#462E56 #562E52 #562E3E
triadic
#562E52 #52562E #2E5256
tetradic
#562E52 #56462E #2E5632 #2E3E56
square
#562E52 #56462E #2E5632 #2E3E56
split-complementary
#562E52 #3E562E #2E5646
monochromatic
#140B13 #2E192C #562E52 #7E4378 #A6599E

Accessibility & contrast

On white

11.00
#562E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#562E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562E52
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E52#FFFFFF#000000##FFFFFF
##562E521.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3953
Deuteranopia (green-blind)
#373E51
Tritanopia (blue-blind)
#59313C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #562e52;
/* rgb */ color: rgb(86, 46, 82);
/* oklch */ color: oklch(36.7% 0.079 330.8);
Tailwind
colors: {
  custom: {
    50: '#876882',
    500: '#562e52',
    950: '#000000',
  },
}
SCSS
$custom: #562e52;
$custom-light: #876882;
$custom-dark: #000000;
JSON
{
  "hex": "#562e52",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 306,
    "s": 30.303,
    "l": 25.882
  },
  "oklch": {
    "l": 0.36666,
    "c": 0.07896,
    "h": 330.8
  },
  "luminance": 0.04542
}

Semantic roles & 50–950 ramp

primary
#562E52
secondary
#58885D
accent
#C76B61
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B060A
muted
#7C7A7C

Preview Lab

Preview with #562E52

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

Preview Lab → · Contrast checker → · Palette generator →

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