#562F56#562F56

#562F56 is a dark, moderate purple. Relative luminance 0.047; OKLCH L 37.0% C 0.081 H 327.1°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#562F56
RGBrgb(86, 47, 86)
HSLhsl(300, 29%, 26%)
HSVhsv(300, 45%, 34%)
CMYKcmyk(0%, 45.3%, 0%, 66.3%)
CIE-LABlab(25.81, 24.59, -16.18)
CIE-LCHlch(25.81, 29.44, 326.65°)
OKLaboklab(37.05% 0.0682 -0.0442)
OKLCHoklch(37.05% 0.081 327.1)
XYZxyz(6.5339, 4.6837, 9.3622)
Luminance0.0468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562F56 #2F562F
analogous
#422F56 #562F56 #562F42
triadic
#562F56 #56562F #2F5656
tetradic
#562F56 #56422F #2F562F #2F4256
square
#562F56 #56422F #2F562F #2F4256
split-complementary
#562F56 #42562F #2F5642
monochromatic
#140B14 #2E192E #562F56 #7E457E #A55AA5

Accessibility & contrast

On white

10.84
#562F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#562F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562F56
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562F56#FFFFFF#000000##FFFFFF
##562F561.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3A57
Deuteranopia (green-blind)
#363F55
Tritanopia (blue-blind)
#58333E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #562f56;
/* rgb */ color: rgb(86, 47, 86);
/* oklch */ color: oklch(37.0% 0.081 327.1);
Tailwind
colors: {
  custom: {
    50: '#876985',
    500: '#562f56',
    950: '#000000',
  },
}
SCSS
$custom: #562f56;
$custom-light: #876985;
$custom-dark: #000000;
JSON
{
  "hex": "#562f56",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 300,
    "s": 29.323,
    "l": 26.078
  },
  "oklch": {
    "l": 0.37047,
    "c": 0.08127,
    "h": 327.1
  },
  "luminance": 0.04683
}

Semantic roles & 50–950 ramp

primary
#562F56
secondary
#598759
accent
#C66262
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B060B
muted
#7C7A7C

Preview Lab

Preview with #562F56

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

Preview Lab → · Contrast checker → · Palette generator →

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