#562155#562155

#562155 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.7% C 0.106 H 328.3°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#562155
RGBrgb(86, 33, 85)
HSLhsl(301, 45%, 23%)
HSVhsv(301, 62%, 34%)
CMYKcmyk(0%, 61.6%, 1.2%, 66.3%)
CIE-LABlab(22.73, 32.37, -20.32)
CIE-LCHlch(22.73, 38.22, 327.88°)
OKLaboklab(34.75% 0.0905 -0.0559)
OKLCHoklch(34.75% 0.106 328.3)
XYZxyz(6.0212, 3.7224, 8.9939)
Luminance0.0372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562155 #215622
analogous
#3C2156 #562155 #56213A
triadic
#562155 #555621 #215556
tetradic
#562155 #563C21 #215622 #213A56
square
#562155 #563C21 #215622 #213A56
split-complementary
#562155 #3A5621 #21563C
monochromatic
#160816 #2A1029 #562155 #823281 #AE43AC

Accessibility & contrast

On white

12.04
#562155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#562155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562155
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562155#FFFFFF#000000##FFFFFF
##5621551.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3257
Deuteranopia (green-blind)
#2D3953
Tritanopia (blue-blind)
#592737
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #562155;
/* rgb */ color: rgb(86, 33, 85);
/* oklch */ color: oklch(34.7% 0.106 328.3);
Tailwind
colors: {
  custom: {
    50: '#876085',
    500: '#562155',
    950: '#000000',
  },
}
SCSS
$custom: #562155;
$custom-light: #876085;
$custom-dark: #000000;
JSON
{
  "hex": "#562155",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 301.132,
    "s": 44.538,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34749,
    "c": 0.1064,
    "h": 328.3
  },
  "luminance": 0.03722
}

Semantic roles & 50–950 ramp

primary
#562155
secondary
#498A4A
accent
#D45654
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #562155

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

Preview Lab → · Contrast checker → · Palette generator →

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