#56155C#56155C

#56155C is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.131 H 324.3°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#56155C
RGBrgb(86, 21, 92)
HSLhsl(295, 63%, 22%)
HSVhsv(295, 77%, 36%)
CMYKcmyk(6.5%, 77.2%, 0%, 63.9%)
CIE-LABlab(21.16, 39.32, -27.47)
CIE-LCHlch(21.16, 47.96, 325.06°)
OKLaboklab(33.75% 0.1064 -0.0765)
OKLCHoklch(33.75% 0.131 324.3)
XYZxyz(6.0375, 3.2878, 10.4398)
Luminance0.0329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56155C #1B5C15
analogous
#33155C #56155C #5C153E
triadic
#56155C #5C5615 #155C56
tetradic
#56155C #5C3315 #1B5C15 #153E5C
square
#56155C #5C3315 #1B5C15 #153E5C
split-complementary
#56155C #3E5C15 #155C33
monochromatic
#170619 #270A2A #56155C #85208E #B32CC0

Accessibility & contrast

On white

12.67
#56155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56155C
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56155C#FFFFFF#000000##FFFFFF
##56155C1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5E
Deuteranopia (green-blind)
#22355A
Tritanopia (blue-blind)
#582137
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #56155c;
/* rgb */ color: rgb(86, 21, 92);
/* oklch */ color: oklch(33.8% 0.131 324.3);
Tailwind
colors: {
  custom: {
    50: '#885a8a',
    500: '#56155c',
    950: '#000000',
  },
}
SCSS
$custom: #56155c;
$custom-light: #885a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#56155c",
  "rgb": {
    "r": 86,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 294.93,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3375,
    "c": 0.13103,
    "h": 324.3
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#56155C
secondary
#419339
accent
#E64250
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #56155C

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

Preview Lab → · Contrast checker → · Palette generator →

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