#561252#561252

#561252 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.126 H 330.6°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#561252
RGBrgb(86, 18, 82)
HSLhsl(304, 65%, 20%)
HSVhsv(304, 79%, 34%)
CMYKcmyk(0%, 79.1%, 4.7%, 66.3%)
CIE-LABlab(20.13, 38.58, -22.41)
CIE-LCHlch(20.13, 44.61, 329.84°)
OKLaboklab(32.81% 0.1096 -0.0618)
OKLCHoklch(32.81% 0.126 330.6)
XYZxyz(5.5770, 3.0207, 8.2703)
Luminance0.0302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561252 #125616
analogous
#381256 #561252 #561230
triadic
#561252 #525612 #125256
tetradic
#561252 #563812 #125616 #123056
square
#561252 #563812 #125616 #123056
split-complementary
#561252 #305612 #125638
monochromatic
#190518 #230722 #561252 #891D82 #BB27B3

Accessibility & contrast

On white

13.09
#561252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#561252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561252
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561252#FFFFFF#000000##FFFFFF
##5612521.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2B54
Deuteranopia (green-blind)
#273450
Tritanopia (blue-blind)
#5A1B31
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #561252;
/* rgb */ color: rgb(86, 18, 82);
/* oklch */ color: oklch(32.8% 0.126 330.6);
Tailwind
colors: {
  custom: {
    50: '#885883',
    500: '#561252',
    950: '#000000',
  },
}
SCSS
$custom: #561252;
$custom-light: #885883;
$custom-dark: #000000;
JSON
{
  "hex": "#561252",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 82
  },
  "hsl": {
    "h": 303.529,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32805,
    "c": 0.12585,
    "h": 330.6
  },
  "luminance": 0.0302
}

Semantic roles & 50–950 ramp

primary
#561252
secondary
#358F3A
accent
#E8493F
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #561252

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

Preview Lab → · Contrast checker → · Palette generator →

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