#56155E#56155E

#56155E is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.133 H 323.1°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#56155E
RGBrgb(86, 21, 94)
HSLhsl(293, 63%, 23%)
HSVhsv(293, 78%, 37%)
CMYKcmyk(8.5%, 77.7%, 0%, 63.1%)
CIE-LABlab(21.29, 39.72, -28.58)
CIE-LCHlch(21.29, 48.93, 324.26°)
OKLaboklab(33.89% 0.1063 -0.0798)
OKLCHoklch(33.89% 0.133 323.1)
XYZxyz(6.1261, 3.3233, 10.9063)
Luminance0.0332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56155E #1D5E15
analogous
#32155E #56155E #5E1541
triadic
#56155E #5E5615 #155E56
tetradic
#56155E #5E3215 #1D5E15 #15415E
square
#56155E #5E3215 #1D5E15 #15415E
split-complementary
#56155E #415E15 #155E32
monochromatic
#170619 #280A2C #56155E #842090 #B22BC2

Accessibility & contrast

On white

12.62
#56155E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#56155E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56155E
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56155E#FFFFFF#000000##FFFFFF
##56155E1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#21365C
Tritanopia (blue-blind)
#572238
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #56155e;
/* rgb */ color: rgb(86, 21, 94);
/* oklch */ color: oklch(33.9% 0.133 323.1);
Tailwind
colors: {
  custom: {
    50: '#885a8c',
    500: '#56155e',
    950: '#000000',
  },
}
SCSS
$custom: #56155e;
$custom-light: #885a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#56155e",
  "rgb": {
    "r": 86,
    "g": 21,
    "b": 94
  },
  "hsl": {
    "h": 293.425,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33888,
    "c": 0.13287,
    "h": 323.1
  },
  "luminance": 0.03323
}

Semantic roles & 50–950 ramp

primary
#56155E
secondary
#449539
accent
#E74153
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #56155E

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

Preview Lab → · Contrast checker → · Palette generator →

#56155E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva