#562E56#562E56

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

Color values

HEX#562E56
RGBrgb(86, 46, 86)
HSLhsl(300, 30%, 26%)
HSVhsv(300, 47%, 34%)
CMYKcmyk(0%, 46.5%, 0%, 66.3%)
CIE-LABlab(25.58, 25.20, -16.55)
CIE-LCHlch(25.58, 30.15, 326.71°)
OKLaboklab(36.87% 0.0699 -0.0452)
OKLCHoklch(36.87% 0.083 327.1)
XYZxyz(6.4943, 4.6046, 9.3490)
Luminance0.0460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E56 #2E562E
analogous
#422E56 #562E56 #562E42
triadic
#562E56 #56562E #2E5656
tetradic
#562E56 #56422E #2E562E #2E4256
square
#562E56 #56422E #2E562E #2E4256
split-complementary
#562E56 #42562E #2E5642
monochromatic
#140B14 #2E192E #562E56 #7E437E #A659A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##562E56#FFFFFF#000000##FFFFFF
##562E561.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)
#2B3957
Deuteranopia (green-blind)
#363E55
Tritanopia (blue-blind)
#58323E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #562e56;
/* rgb */ color: rgb(86, 46, 86);
/* oklch */ color: oklch(36.9% 0.083 327.1);
Tailwind
colors: {
  custom: {
    50: '#876885',
    500: '#562e56',
    950: '#000000',
  },
}
SCSS
$custom: #562e56;
$custom-light: #876885;
$custom-dark: #000000;
JSON
{
  "hex": "#562e56",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 86
  },
  "hsl": {
    "h": 300,
    "s": 30.303,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3687,
    "c": 0.08327,
    "h": 327.1
  },
  "luminance": 0.04604
}

Semantic roles & 50–950 ramp

primary
#562E56
secondary
#588858
accent
#C76161
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B060B
muted
#7C7A7C

Preview Lab

Preview with #562E56

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

Preview Lab → · Contrast checker → · Palette generator →

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