#56106D#56106D

#56106D is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.152 H 315.7°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#56106D
RGBrgb(86, 16, 109)
HSLhsl(285, 74%, 25%)
HSVhsv(285, 85%, 43%)
CMYKcmyk(21.1%, 85.3%, 0%, 57.3%)
CIE-LABlab(21.78, 44.57, -37.64)
CIE-LCHlch(21.78, 58.34, 319.82°)
OKLaboklab(34.58% 0.1088 -0.1063)
OKLCHoklch(34.58% 0.152 315.7)
XYZxyz(6.7829, 3.4534, 14.7743)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56106D #276D10
analogous
#27106D #56106D #6D1056
triadic
#56106D #6D5610 #106D56
tetradic
#56106D #6D2710 #276D10 #10566D
square
#56106D #6D2710 #276D10 #10566D
split-complementary
#56106D #566D10 #106D27
monochromatic
#15041B #2C0838 #56106D #8018A2 #AA20D8

Accessibility & contrast

On white

12.42
#56106D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#56106D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56106D
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56106D#FFFFFF#000000##FFFFFF
##56106D1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#0C366B
Tritanopia (blue-blind)
#542740
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #56106d;
/* rgb */ color: rgb(86, 16, 109);
/* oklch */ color: oklch(34.6% 0.152 315.7);
Tailwind
colors: {
  custom: {
    50: '#895997',
    500: '#56106d',
    950: '#000000',
  },
}
SCSS
$custom: #56106d;
$custom-light: #895997;
$custom-dark: #000000;
JSON
{
  "hex": "#56106d",
  "rgb": {
    "r": 86,
    "g": 16,
    "b": 109
  },
  "hsl": {
    "h": 285.161,
    "s": 74.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34575,
    "c": 0.15212,
    "h": 315.7
  },
  "luminance": 0.03453
}

Semantic roles & 50–950 ramp

primary
#56106D
secondary
#50A534
accent
#F13765
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #56106D

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

Preview Lab → · Contrast checker → · Palette generator →

#56106D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva