#56116F#56116F

#56116F is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.8% C 0.153 H 314.7°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#56116F
RGBrgb(86, 17, 111)
HSLhsl(284, 73%, 25%)
HSVhsv(284, 85%, 44%)
CMYKcmyk(22.5%, 84.7%, 0%, 56.5%)
CIE-LABlab(22.04, 44.67, -38.51)
CIE-LCHlch(22.04, 58.98, 319.24°)
OKLaboklab(34.81% 0.1076 -0.1088)
OKLCHoklch(34.81% 0.153 314.7)
XYZxyz(6.9070, 3.5273, 15.3528)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56116F #2A6F11
analogous
#27116F #56116F #6F1159
triadic
#56116F #6F5611 #116F56
tetradic
#56116F #6F2711 #2A6F11 #11596F
square
#56116F #6F2711 #2A6F11 #11596F
split-complementary
#56116F #596F11 #116F27
monochromatic
#15041B #2D093A #56116F #7F19A4 #A821D9

Accessibility & contrast

On white

12.31
#56116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#56116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56116F
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56116F#FFFFFF#000000##FFFFFF
##56116F1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#09366D
Tritanopia (blue-blind)
#542841
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #56116f;
/* rgb */ color: rgb(86, 17, 111);
/* oklch */ color: oklch(34.8% 0.153 314.7);
Tailwind
colors: {
  custom: {
    50: '#895999',
    500: '#56116f',
    950: '#000000',
  },
}
SCSS
$custom: #56116f;
$custom-light: #895999;
$custom-dark: #000000;
JSON
{
  "hex": "#56116f",
  "rgb": {
    "r": 86,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 284.043,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34812,
    "c": 0.15304,
    "h": 314.7
  },
  "luminance": 0.03527
}

Semantic roles & 50–950 ramp

primary
#56116F
secondary
#53A635
accent
#F03869
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #56116F

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

Preview Lab → · Contrast checker → · Palette generator →

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