#56105C#56105C

#56105C is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.3% C 0.137 H 324.5°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#56105C
RGBrgb(86, 16, 92)
HSLhsl(295, 70%, 21%)
HSVhsv(295, 83%, 36%)
CMYKcmyk(6.5%, 82.6%, 0%, 63.9%)
CIE-LABlab(20.53, 41.14, -28.48)
CIE-LCHlch(20.53, 50.04, 325.31°)
OKLaboklab(33.3% 0.1114 -0.0794)
OKLCHoklch(33.3% 0.137 324.5)
XYZxyz(5.9547, 3.1221, 10.4121)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56105C #165C10
analogous
#30105C #56105C #5C103C
triadic
#56105C #5C5610 #105C56
tetradic
#56105C #5C3010 #165C10 #103C5C
square
#56105C #5C3010 #165C10 #103C5C
split-complementary
#56105C #3C5C10 #105C30
monochromatic
#18051A #250728 #56105C #871990 #B722C4

Accessibility & contrast

On white

12.93
#56105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#56105C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56105C
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56105C#FFFFFF#000000##FFFFFF
##56105C1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56105c;
/* rgb */ color: rgb(86, 16, 92);
/* oklch */ color: oklch(33.3% 0.137 324.5);
Tailwind
colors: {
  custom: {
    50: '#89588a',
    500: '#56105c',
    950: '#000000',
  },
}
SCSS
$custom: #56105c;
$custom-light: #89588a;
$custom-dark: #000000;
JSON
{
  "hex": "#56105c",
  "rgb": {
    "r": 86,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 295.263,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33298,
    "c": 0.1368,
    "h": 324.5
  },
  "luminance": 0.03122
}

Semantic roles & 50–950 ramp

primary
#56105C
secondary
#3A9533
accent
#ED3B49
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #56105C

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

Preview Lab → · Contrast checker → · Palette generator →

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