#56116E#56116E

#56116E is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.7% C 0.152 H 315.1°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#56116E
RGBrgb(86, 17, 110)
HSLhsl(285, 73%, 25%)
HSVhsv(285, 85%, 43%)
CMYKcmyk(21.8%, 84.5%, 0%, 56.9%)
CIE-LABlab(21.96, 44.46, -37.99)
CIE-LCHlch(21.96, 58.48, 319.49°)
OKLaboklab(34.73% 0.1078 -0.1073)
OKLCHoklch(34.73% 0.152 315.1)
XYZxyz(6.8522, 3.5054, 15.0645)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56116E #296E11
analogous
#27116E #56116E #6E1158
triadic
#56116E #6E5611 #116E56
tetradic
#56116E #6E2711 #296E11 #11586E
square
#56116E #6E2711 #296E11 #11586E
split-complementary
#56116E #586E11 #116E27
monochromatic
#15041B #2D0939 #56116E #7F19A3 #A921D8

Accessibility & contrast

On white

12.35
#56116E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#56116E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56116E
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56116E#FFFFFF#000000##FFFFFF
##56116E1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#0B366C
Tritanopia (blue-blind)
#542840
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #56116e;
/* rgb */ color: rgb(86, 17, 110);
/* oklch */ color: oklch(34.7% 0.152 315.1);
Tailwind
colors: {
  custom: {
    50: '#895998',
    500: '#56116e',
    950: '#000000',
  },
}
SCSS
$custom: #56116e;
$custom-light: #895998;
$custom-dark: #000000;
JSON
{
  "hex": "#56116e",
  "rgb": {
    "r": 86,
    "g": 17,
    "b": 110
  },
  "hsl": {
    "h": 284.516,
    "s": 73.228,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34732,
    "c": 0.15211,
    "h": 315.1
  },
  "luminance": 0.03505
}

Semantic roles & 50–950 ramp

primary
#56116E
secondary
#52A535
accent
#F03867
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #56116E

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

Preview Lab → · Contrast checker → · Palette generator →

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