#562255#562255

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

Color values

HEX#562255
RGBrgb(86, 34, 85)
HSLhsl(301, 43%, 24%)
HSVhsv(301, 60%, 34%)
CMYKcmyk(0%, 60.5%, 1.2%, 66.3%)
CIE-LABlab(22.93, 31.85, -20.02)
CIE-LCHlch(22.93, 37.62, 327.85°)
OKLaboklab(34.89% 0.089 -0.055)
OKLCHoklch(34.89% 0.105 328.3)
XYZxyz(6.0494, 3.7787, 9.0033)
Luminance0.0378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562255 #225623
analogous
#3D2256 #562255 #56223B
triadic
#562255 #555622 #225556
tetradic
#562255 #563D22 #225623 #223B56
square
#562255 #563D22 #225623 #223B56
split-complementary
#562255 #3B5622 #22563D
monochromatic
#160916 #2A112A #562255 #823380 #AE45AC

Accessibility & contrast

On white

11.96
#562255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562255
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562255#FFFFFF#000000##FFFFFF
##5622551.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #562255;
/* rgb */ color: rgb(86, 34, 85);
/* oklch */ color: oklch(34.9% 0.105 328.3);
Tailwind
colors: {
  custom: {
    50: '#876085',
    500: '#562255',
    950: '#000000',
  },
}
SCSS
$custom: #562255;
$custom-light: #876085;
$custom-dark: #000000;
JSON
{
  "hex": "#562255",
  "rgb": {
    "r": 86,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 301.154,
    "s": 43.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34891,
    "c": 0.10468,
    "h": 328.3
  },
  "luminance": 0.03778
}

Semantic roles & 50–950 ramp

primary
#562255
secondary
#4A8A4B
accent
#D35755
background
#F8F5F8
surface
#F0EAEF
border
#CBC6CA
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #562255

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

Preview Lab → · Contrast checker → · Palette generator →

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