#56105B#56105B

#56105B is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.136 H 325.1°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#56105B
RGBrgb(86, 16, 91)
HSLhsl(296, 70%, 21%)
HSVhsv(296, 82%, 36%)
CMYKcmyk(5.5%, 82.4%, 0%, 64.3%)
CIE-LABlab(20.46, 40.95, -27.92)
CIE-LCHlch(20.46, 49.57, 325.71°)
OKLaboklab(33.23% 0.1114 -0.0778)
OKLCHoklch(33.23% 0.136 325.1)
XYZxyz(5.9112, 3.1047, 10.1834)
Luminance0.0310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56105B #155B10
analogous
#30105B #56105B #5B103A
triadic
#56105B #5B5610 #105B56
tetradic
#56105B #5B3010 #155B10 #103A5B
square
#56105B #5B3010 #155B10 #103A5B
split-complementary
#56105B #3A5B10 #105B30
monochromatic
#19051A #250727 #56105B #87198F #B822C3

Accessibility & contrast

On white

12.96
#56105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56105B
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56105B#FFFFFF#000000##FFFFFF
##56105B1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5D
Deuteranopia (green-blind)
#203459
Tritanopia (blue-blind)
#581E35
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #56105b;
/* rgb */ color: rgb(86, 16, 91);
/* oklch */ color: oklch(33.2% 0.136 325.1);
Tailwind
colors: {
  custom: {
    50: '#89588a',
    500: '#56105b',
    950: '#000000',
  },
}
SCSS
$custom: #56105b;
$custom-light: #89588a;
$custom-dark: #000000;
JSON
{
  "hex": "#56105b",
  "rgb": {
    "r": 86,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 296,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33228,
    "c": 0.13592,
    "h": 325.1
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#56105B
secondary
#399433
accent
#ED3B47
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #56105B

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

Preview Lab → · Contrast checker → · Palette generator →

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