#562256#562256

#562256 is a dark, moderate purple. Relative luminance 0.038; OKLCH L 34.9% C 0.106 H 327.5°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#562256
RGBrgb(86, 34, 86)
HSLhsl(300, 43%, 24%)
HSVhsv(300, 60%, 34%)
CMYKcmyk(0%, 60.5%, 0%, 66.3%)
CIE-LABlab(22.98, 32.05, -20.60)
CIE-LCHlch(22.98, 38.10, 327.27°)
OKLaboklab(34.95% 0.0892 -0.0567)
OKLCHoklch(34.95% 0.106 327.5)
XYZxyz(6.0894, 3.7947, 9.2140)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562256 #225622
analogous
#3C2256 #562256 #56223C
triadic
#562256 #565622 #225656
tetradic
#562256 #563C22 #225622 #223C56
square
#562256 #563C22 #225622 #223C56
split-complementary
#562256 #3C5622 #22563C
monochromatic
#160916 #2A112A #562256 #823382 #AE45AE

Accessibility & contrast

On white

11.94
#562256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562256
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562256#FFFFFF#000000##FFFFFF
##5622561.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3258
Deuteranopia (green-blind)
#2D3955
Tritanopia (blue-blind)
#592838
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #562256;
/* rgb */ color: rgb(86, 34, 86);
/* oklch */ color: oklch(34.9% 0.106 327.5);
Tailwind
colors: {
  custom: {
    50: '#876086',
    500: '#562256',
    950: '#000000',
  },
}
SCSS
$custom: #562256;
$custom-light: #876086;
$custom-dark: #000000;
JSON
{
  "hex": "#562256",
  "rgb": {
    "r": 86,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 300,
    "s": 43.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3495,
    "c": 0.10568,
    "h": 327.5
  },
  "luminance": 0.03794
}

Semantic roles & 50–950 ramp

primary
#562256
secondary
#4A8A4A
accent
#D35555
background
#F8F5F8
surface
#F0EAEF
border
#CBC6CA
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #562256

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

Preview Lab → · Contrast checker → · Palette generator →

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