#562A6B#562A6B

#562A6B is a dark, moderate purple. Relative luminance 0.047; OKLCH L 37.5% C 0.115 H 313.5°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#562A6B
RGBrgb(86, 42, 107)
HSLhsl(281, 44%, 29%)
HSVhsv(281, 61%, 42%)
CMYKcmyk(19.6%, 60.7%, 0%, 58%)
CIE-LABlab(25.85, 32.33, -29.81)
CIE-LCHlch(25.85, 43.97, 317.32°)
OKLaboklab(37.45% 0.0791 -0.0835)
OKLCHoklch(37.45% 0.115 313.5)
XYZxyz(7.3191, 4.6961, 14.4280)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562A6B #3F6B2A
analogous
#362A6B #562A6B #6B2A60
triadic
#562A6B #6B562A #2A6B56
tetradic
#562A6B #6B362A #3F6B2A #2A606B
square
#562A6B #6B362A #3F6B2A #2A606B
split-complementary
#562A6B #606B2A #2A6B36
monochromatic
#120916 #33193F #562A6B #793B97 #9A54BC

Accessibility & contrast

On white

10.83
#562A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562A6B
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562A6B#FFFFFF#000000##FFFFFF
##562A6B1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173B6D
Deuteranopia (green-blind)
#273E69
Tritanopia (blue-blind)
#543546
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #562a6b;
/* rgb */ color: rgb(86, 42, 107);
/* oklch */ color: oklch(37.5% 0.115 313.5);
Tailwind
colors: {
  custom: {
    50: '#886696',
    500: '#562a6b',
    950: '#000000',
  },
}
SCSS
$custom: #562a6b;
$custom-light: #886696;
$custom-dark: #000000;
JSON
{
  "hex": "#562a6b",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 107
  },
  "hsl": {
    "h": 280.615,
    "s": 43.624,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37452,
    "c": 0.11503,
    "h": 313.5
  },
  "luminance": 0.04696
}

Semantic roles & 50–950 ramp

primary
#562A6B
secondary
#6B9D54
accent
#D3547D
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #562A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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