#56146B#56146B

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

Color values

HEX#56146B
RGBrgb(86, 20, 107)
HSLhsl(286, 69%, 25%)
HSVhsv(286, 81%, 42%)
CMYKcmyk(19.6%, 81.3%, 0%, 58%)
CIE-LABlab(22.09, 42.79, -35.83)
CIE-LCHlch(22.09, 55.81, 320.05°)
OKLaboklab(34.75% 0.1058 -0.101)
OKLCHoklch(34.75% 0.146 316.3)
XYZxyz(6.7413, 3.5406, 14.2354)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56146B #296B14
analogous
#2A146B #56146B #6B1455
triadic
#56146B #6B5614 #146B56
tetradic
#56146B #6B2A14 #296B14 #14556B
square
#56146B #6B2A14 #296B14 #14556B
split-complementary
#56146B #556B14 #146B2A
monochromatic
#15051A #2D0A37 #56146B #7F1E9F #A927D2

Accessibility & contrast

On white

12.30
#56146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56146B
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56146B#FFFFFF#000000##FFFFFF
##56146B1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316D
Deuteranopia (green-blind)
#133769
Tritanopia (blue-blind)
#55283F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #56146b;
/* rgb */ color: rgb(86, 20, 107);
/* oklch */ color: oklch(34.7% 0.146 316.3);
Tailwind
colors: {
  custom: {
    50: '#895a96',
    500: '#56146b',
    950: '#000000',
  },
}
SCSS
$custom: #56146b;
$custom-light: #895a96;
$custom-dark: #000000;
JSON
{
  "hex": "#56146b",
  "rgb": {
    "r": 86,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 285.517,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34748,
    "c": 0.14625,
    "h": 316.3
  },
  "luminance": 0.0354
}

Semantic roles & 50–950 ramp

primary
#56146B
secondary
#52A239
accent
#EB3C67
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #56146B

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

Preview Lab → · Contrast checker → · Palette generator →

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