#56146A#56146A

#56146A is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.7% C 0.145 H 316.8°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#56146A
RGBrgb(86, 20, 106)
HSLhsl(286, 68%, 25%)
HSVhsv(286, 81%, 42%)
CMYKcmyk(18.9%, 81.1%, 0%, 58.4%)
CIE-LABlab(22.02, 42.57, -35.31)
CIE-LCHlch(22.02, 55.31, 320.33°)
OKLaboklab(34.67% 0.1059 -0.0995)
OKLCHoklch(34.67% 0.145 316.8)
XYZxyz(6.6890, 3.5196, 13.9599)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56146A #286A14
analogous
#2B146A #56146A #6A1453
triadic
#56146A #6A5614 #146A56
tetradic
#56146A #6A2B14 #286A14 #14536A
square
#56146A #6A2B14 #286A14 #14536A
split-complementary
#56146A #536A14 #146A2B
monochromatic
#15051A #2C0A37 #56146A #801E9D #AA27D1

Accessibility & contrast

On white

12.33
#56146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#56146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56146A
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56146A#FFFFFF#000000##FFFFFF
##56146A1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#153768
Tritanopia (blue-blind)
#55273F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #56146a;
/* rgb */ color: rgb(86, 20, 106);
/* oklch */ color: oklch(34.7% 0.145 316.8);
Tailwind
colors: {
  custom: {
    50: '#895a95',
    500: '#56146a',
    950: '#000000',
  },
}
SCSS
$custom: #56146a;
$custom-light: #895a95;
$custom-dark: #000000;
JSON
{
  "hex": "#56146a",
  "rgb": {
    "r": 86,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 286.047,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34671,
    "c": 0.14531,
    "h": 316.8
  },
  "luminance": 0.03519
}

Semantic roles & 50–950 ramp

primary
#56146A
secondary
#51A139
accent
#EB3D65
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #56146A

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

Preview Lab → · Contrast checker → · Palette generator →

#56146A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva