#562160#562160

#562160 is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.4% C 0.118 H 321.0°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#562160
RGBrgb(86, 33, 96)
HSLhsl(290, 49%, 25%)
HSVhsv(290, 66%, 38%)
CMYKcmyk(10.4%, 65.6%, 0%, 62.4%)
CIE-LABlab(23.38, 34.67, -26.59)
CIE-LCHlch(23.38, 43.69, 322.52°)
OKLaboklab(35.43% 0.0914 -0.0741)
OKLCHoklch(35.43% 0.118 321)
XYZxyz(6.4927, 3.9110, 11.4770)
Luminance0.0391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562160 #2B6021
analogous
#362160 #562160 #60214A
triadic
#562160 #605621 #216056
tetradic
#562160 #603621 #2B6021 #214A60
square
#562160 #603621 #2B6021 #214A60
split-complementary
#562160 #4A6021 #216036
monochromatic
#140817 #2D1132 #562160 #7F318E #A840BB

Accessibility & contrast

On white

11.78
#562160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#562160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562160
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562160#FFFFFF#000000##FFFFFF
##5621601.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123462
Deuteranopia (green-blind)
#273A5E
Tritanopia (blue-blind)
#572B3D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #562160;
/* rgb */ color: rgb(86, 33, 96);
/* oklch */ color: oklch(35.4% 0.118 321.0);
Tailwind
colors: {
  custom: {
    50: '#88608d',
    500: '#562160',
    950: '#000000',
  },
}
SCSS
$custom: #562160;
$custom-light: #88608d;
$custom-dark: #000000;
JSON
{
  "hex": "#562160",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 290.476,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35427,
    "c": 0.11767,
    "h": 321
  },
  "luminance": 0.03911
}

Semantic roles & 50–950 ramp

primary
#562160
secondary
#559449
accent
#D84F65
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #562160

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

Preview Lab → · Contrast checker → · Palette generator →

#562160 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva