#56146C#56146C

#56146C is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.8% C 0.147 H 315.8°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#56146C
RGBrgb(86, 20, 108)
HSLhsl(285, 69%, 25%)
HSVhsv(285, 81%, 42%)
CMYKcmyk(20.4%, 81.5%, 0%, 57.6%)
CIE-LABlab(22.17, 43.00, -36.36)
CIE-LCHlch(22.17, 56.31, 319.78°)
OKLaboklab(34.83% 0.1056 -0.1026)
OKLCHoklch(34.83% 0.147 315.8)
XYZxyz(6.7943, 3.5617, 14.5140)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56146C #2A6C14
analogous
#2A146C #56146C #6C1456
triadic
#56146C #6C5614 #146C56
tetradic
#56146C #6C2A14 #2A6C14 #14566C
square
#56146C #6C2A14 #2A6C14 #14566C
split-complementary
#56146C #566C14 #146C2A
monochromatic
#15051A #2D0A38 #56146C #7F1EA0 #A827D3

Accessibility & contrast

On white

12.26
#56146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#56146C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56146C
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56146C#FFFFFF#000000##FFFFFF
##56146C1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#12376A
Tritanopia (blue-blind)
#542840
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #56146c;
/* rgb */ color: rgb(86, 20, 108);
/* oklch */ color: oklch(34.8% 0.147 315.8);
Tailwind
colors: {
  custom: {
    50: '#895a97',
    500: '#56146c',
    950: '#000000',
  },
}
SCSS
$custom: #56146c;
$custom-light: #895a97;
$custom-dark: #000000;
JSON
{
  "hex": "#56146c",
  "rgb": {
    "r": 86,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 285,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34826,
    "c": 0.14721,
    "h": 315.8
  },
  "luminance": 0.03561
}

Semantic roles & 50–950 ramp

primary
#56146C
secondary
#53A339
accent
#EC3C68
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #56146C

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

Preview Lab → · Contrast checker → · Palette generator →

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