#562159#562159

#562159 is a dark, moderate purple. Relative luminance 0.038; OKLCH L 35.0% C 0.110 H 325.5°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#562159
RGBrgb(86, 33, 89)
HSLhsl(297, 46%, 24%)
HSVhsv(297, 63%, 35%)
CMYKcmyk(3.4%, 62.9%, 0%, 65.1%)
CIE-LABlab(22.96, 33.19, -22.63)
CIE-LCHlch(22.96, 40.17, 325.71°)
OKLaboklab(34.99% 0.091 -0.0626)
OKLCHoklch(34.99% 0.11 325.5)
XYZxyz(6.1846, 3.7878, 9.8546)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562159 #245921
analogous
#3A2159 #562159 #592140
triadic
#562159 #595621 #215956
tetradic
#562159 #593A21 #245921 #214059
square
#562159 #593A21 #245921 #214059
split-complementary
#562159 #405921 #21593A
monochromatic
#160816 #2B102C #562159 #813286 #AC42B2

Accessibility & contrast

On white

11.95
#562159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#562159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562159
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562159#FFFFFF#000000##FFFFFF
##5621591.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19335B
Deuteranopia (green-blind)
#2B3957
Tritanopia (blue-blind)
#582839
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #562159;
/* rgb */ color: rgb(86, 33, 89);
/* oklch */ color: oklch(35.0% 0.110 325.5);
Tailwind
colors: {
  custom: {
    50: '#886088',
    500: '#562159',
    950: '#000000',
  },
}
SCSS
$custom: #562159;
$custom-light: #886088;
$custom-dark: #000000;
JSON
{
  "hex": "#562159",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 296.786,
    "s": 45.902,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34987,
    "c": 0.11042,
    "h": 325.5
  },
  "luminance": 0.03787
}

Semantic roles & 50–950 ramp

primary
#562159
secondary
#4C8D49
accent
#D65259
background
#F8F5F8
surface
#F0EAEF
border
#CBC6CA
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #562159

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

Preview Lab → · Contrast checker → · Palette generator →

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