#562154#562154

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

Color values

HEX#562154
RGBrgb(86, 33, 84)
HSLhsl(302, 45%, 23%)
HSVhsv(302, 62%, 34%)
CMYKcmyk(0%, 61.6%, 2.3%, 66.3%)
CIE-LABlab(22.68, 32.17, -19.74)
CIE-LCHlch(22.68, 37.75, 328.47°)
OKLaboklab(34.69% 0.0904 -0.0542)
OKLCHoklch(34.69% 0.105 329)
XYZxyz(5.9818, 3.7066, 8.7862)
Luminance0.0371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562154 #215623
analogous
#3D2156 #562154 #562139
triadic
#562154 #545621 #215456
tetradic
#562154 #563D21 #215623 #213956
square
#562154 #563D21 #215623 #213956
split-complementary
#562154 #395621 #21563D
monochromatic
#160816 #2A1029 #562154 #82327F #AE43AA

Accessibility & contrast

On white

12.06
#562154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562154
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562154#FFFFFF#000000##FFFFFF
##5621541.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #562154;
/* rgb */ color: rgb(86, 33, 84);
/* oklch */ color: oklch(34.7% 0.105 329.0);
Tailwind
colors: {
  custom: {
    50: '#876084',
    500: '#562154',
    950: '#000000',
  },
}
SCSS
$custom: #562154;
$custom-light: #876084;
$custom-dark: #000000;
JSON
{
  "hex": "#562154",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 302.264,
    "s": 44.538,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34691,
    "c": 0.10542,
    "h": 329
  },
  "luminance": 0.03706
}

Semantic roles & 50–950 ramp

primary
#562154
secondary
#498A4B
accent
#D45854
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #562154

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

Preview Lab → · Contrast checker → · Palette generator →

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