#56115C#56115C

#56115C is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.4% C 0.136 H 324.5°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#56115C
RGBrgb(86, 17, 92)
HSLhsl(295, 69%, 21%)
HSVhsv(295, 82%, 36%)
CMYKcmyk(6.5%, 81.5%, 0%, 63.9%)
CIE-LABlab(20.64, 40.80, -28.29)
CIE-LCHlch(20.64, 49.65, 325.26°)
OKLaboklab(33.38% 0.1104 -0.0789)
OKLCHoklch(33.38% 0.136 324.5)
XYZxyz(5.9698, 3.1524, 10.4172)
Luminance0.0315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56115C #175C11
analogous
#31115C #56115C #5C113D
triadic
#56115C #5C5611 #115C56
tetradic
#56115C #5C3111 #175C11 #113D5C
square
#56115C #5C3111 #175C11 #113D5C
split-complementary
#56115C #3D5C11 #115C31
monochromatic
#18051A #260728 #56115C #861B90 #B724C3

Accessibility & contrast

On white

12.88
#56115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#56115C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56115C
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56115C#FFFFFF#000000##FFFFFF
##56115C1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5E
Deuteranopia (green-blind)
#20345A
Tritanopia (blue-blind)
#581F36
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #56115c;
/* rgb */ color: rgb(86, 17, 92);
/* oklch */ color: oklch(33.4% 0.136 324.5);
Tailwind
colors: {
  custom: {
    50: '#89588a',
    500: '#56115c',
    950: '#000000',
  },
}
SCSS
$custom: #56115c;
$custom-light: #89588a;
$custom-dark: #000000;
JSON
{
  "hex": "#56115c",
  "rgb": {
    "r": 86,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 295.2,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33382,
    "c": 0.13572,
    "h": 324.5
  },
  "luminance": 0.03152
}

Semantic roles & 50–950 ramp

primary
#56115C
secondary
#3C9534
accent
#EC3C4A
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #56115C

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

Preview Lab → · Contrast checker → · Palette generator →

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