#562A6A#562A6A

#562A6A is a dark, moderate purple. Relative luminance 0.047; OKLCH L 37.4% C 0.114 H 314.0°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#562A6A
RGBrgb(86, 42, 106)
HSLhsl(281, 43%, 29%)
HSVhsv(281, 60%, 42%)
CMYKcmyk(18.9%, 60.4%, 0%, 58.4%)
CIE-LABlab(25.79, 32.09, -29.26)
CIE-LCHlch(25.79, 43.43, 317.64°)
OKLaboklab(37.39% 0.0791 -0.0819)
OKLCHoklch(37.39% 0.114 314)
XYZxyz(7.2668, 4.6752, 14.1525)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562A6A #3E6A2A
analogous
#362A6A #562A6A #6A2A5E
triadic
#562A6A #6A562A #2A6A56
tetradic
#562A6A #6A362A #3E6A2A #2A5E6A
square
#562A6A #6A362A #3E6A2A #2A5E6A
split-complementary
#562A6A #5E6A2A #2A6A36
monochromatic
#120916 #32193E #562A6A #7A3B96 #9B53BB

Accessibility & contrast

On white

10.85
#562A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562A6A
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562A6A#FFFFFF#000000##FFFFFF
##562A6A1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183B6C
Deuteranopia (green-blind)
#283E68
Tritanopia (blue-blind)
#543545
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #562a6a;
/* rgb */ color: rgb(86, 42, 106);
/* oklch */ color: oklch(37.4% 0.114 314.0);
Tailwind
colors: {
  custom: {
    50: '#886695',
    500: '#562a6a',
    950: '#000000',
  },
}
SCSS
$custom: #562a6a;
$custom-light: #886695;
$custom-dark: #000000;
JSON
{
  "hex": "#562a6a",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 106
  },
  "hsl": {
    "h": 281.25,
    "s": 43.243,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37386,
    "c": 0.11384,
    "h": 314
  },
  "luminance": 0.04675
}

Semantic roles & 50–950 ramp

primary
#562A6A
secondary
#6A9C54
accent
#D3557C
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #562A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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