#561157#561157

#561157 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.0% C 0.131 H 327.4°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#561157
RGBrgb(86, 17, 87)
HSLhsl(299, 67%, 20%)
HSVhsv(299, 80%, 34%)
CMYKcmyk(1.1%, 80.5%, 0%, 65.9%)
CIE-LABlab(20.31, 39.85, -25.48)
CIE-LCHlch(20.31, 47.30, 327.41°)
OKLaboklab(33.04% 0.1107 -0.0707)
OKLCHoklch(33.04% 0.131 327.4)
XYZxyz(5.7584, 3.0679, 9.3038)
Luminance0.0307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561157 #125711
analogous
#331157 #561157 #571135
triadic
#561157 #575611 #115756
tetradic
#561157 #573311 #125711 #113557
square
#561157 #573311 #125711 #113557
split-complementary
#561157 #355711 #115733
monochromatic
#19051A #230724 #561157 #891B8A #BB25BD

Accessibility & contrast

On white

13.02
#561157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#561157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561157
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561157#FFFFFF#000000##FFFFFF
##5611571.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022B59
Deuteranopia (green-blind)
#243455
Tritanopia (blue-blind)
#591D33
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #561157;
/* rgb */ color: rgb(86, 17, 87);
/* oklch */ color: oklch(33.0% 0.131 327.4);
Tailwind
colors: {
  custom: {
    50: '#885887',
    500: '#561157',
    950: '#000000',
  },
}
SCSS
$custom: #561157;
$custom-light: #885887;
$custom-dark: #000000;
JSON
{
  "hex": "#561157",
  "rgb": {
    "r": 86,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 299.143,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3304,
    "c": 0.13133,
    "h": 327.4
  },
  "luminance": 0.03067
}

Semantic roles & 50–950 ramp

primary
#561157
secondary
#359034
accent
#EA3E40
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #561157

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

Preview Lab → · Contrast checker → · Palette generator →

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