Skip to content

#56005c

a deep, electric magenta / pink · neutral · closest name: Indigo

RGB
86, 0, 92
HSL
296°, 100%, 18%
CMYK
7, 100, 0, 64
Luminance
0.0275

At a glance

Every number on this page in one read: what #56005c is made of, how bright it looks, and which way it leans.

Hex
#56005c
Hue
296°
magenta / pink
Saturation
100%
electric
Lightness
18%
deep
Brightness
36%
HSV value
Perceived
22%
weighted brightness
Luminance
0.0275
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
13.55:1
Closest name
Indigo
ΔE2000 8.5
Where it sits
Hue296° of 360°
Saturation100%
Lightness18%
Temperature
Warm ← → Cool52% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#56005c
RGBrgb(86, 0, 92)
HSLhsl(296, 100%, 18%)
CMYKcmyk(7%, 100%, 0%, 64%)
LABlab(19.0 45.5 -30.9)
LCHlch(19.0 55.0 325.8)
OKLCHoklch(0.322 0.151 325.0)
Decimal5636188
Display P3color(display-p3 0.337 0.000 0.361)

Copy-ready code

/* CSS */
color: #56005c;
background-color: #56005c;
/* Tailwind (arbitrary) */
class="text-[#56005c] bg-[#56005c]"
/* SCSS */
$brand: #56005c;
/* SwiftUI */
Color(red: 0.337, green: 0.000, blue: 0.361)
/* Android */
Color.parseColor("#56005c")
/* Flutter */
Color(0xFF56005C)
/* Python / OpenCV (BGR) */
(92, 0, 86)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #56005c · 13.55:1
Use #ffffffAAA at every size.
Aa
White text · 13.55:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.55:1
AA fail · AA large fail · AAA fail
Reading the other direction: #56005c as text scores 13.55:1 on white and 1.55:1 on black.

Accessibility — WCAG contrast

Aa
#56005c on white: 13.55:1
AA ✓ pass · AA-large · AAA
Aa
#56005c on black: 1.55:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #00285E
deuteranopia · #19315A
tritanopia · #581733

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #56005c is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FDF1FE
#FBE3FC
#F8C0FC
#F88FFF
#F457FF
#F01FFF
#E500F5
#BF00CC
#9900A3
#6E0576
#56005c
Base = 950Lightest = 50 · #FDF1FEDarkest = 950 · #56005c
:root {
  --brand-50: #FDF1FE;
  --brand-100: #FBE3FC;
  --brand-200: #F8C0FC;
  --brand-300: #F88FFF;
  --brand-400: #F457FF;
  --brand-500: #F01FFF;
  --brand-600: #E500F5;
  --brand-700: #BF00CC;
  --brand-800: #9900A3;
  --brand-900: #6E0576;
  --brand-950: #56005c;
  --brand: #56005c;
  --brand-ink: #ffffff;
}

Colors that work with #56005c

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF4FA
Tinted page background
Border#EAC0ED
Hairlines and dividers
Muted text#964B9B
Captions on the surface
Accent#1D5C00
Second voice, not a rival
Dark variant#770080
Hover, pressed, headers
Light variant#FDE5FF
Selected rows, tints
Dark surface#231424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #56005c

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#065C00
Analogous left#28005C
Analogous right#5C0034
Split-complement 1#345C00
Split-complement 2#005C28
Triadic 1#5C5600
Triadic 2#005C56
Tetradic#5C2800

RGB percentages

Red33.7%
Green0.0%
Blue36.1%

CMYK percentages

Cyan6.5%
Magenta100.0%
Yellow0.0%
Key (black)63.9%

Color previews

#56005c text on a black background

contrast 1.55:1

Card sample

#56005c text on a white background

contrast 13.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #56005c;
Background color
Panel with #56005c background
background-color: #56005c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #56005c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(86, 0, 92, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 0, 92, 0.45);
Border & gradient
Gradient panel
border: 3px solid #56005c;
background: linear-gradient(135deg, #56005c, #5C0025);

Monochromatic scale

Palettes built from #56005c

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#56005c in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#56005c, answered

What color is #56005c?

#56005c is a deep electric magenta / pink, closest to Indigo (ΔE2000 8.5). It sits at 296° on the hue wheel with 100% saturation and 18% lightness, which reads as neutral.

What is the RGB value of #56005c?

rgb(86, 0, 92) — 86 red, 0 green and 92 blue out of 255, or 33.7% / 0% / 36.1% by channel.

Is #56005c a light or a dark color?

It is a dark color. Relative luminance is 0.0275 and perceived brightness is 22%, so white text on it reaches 13.55:1.

Should I use black or white text on #56005c?

White. It scores 13.55:1 against #56005c, versus 1.55:1 for black — AAA at any size.

What is the complementary color of #56005c?

#065C00 sits directly opposite on the wheel. Softer options are the split-complements #345C00 and #005C28, which give the same contrast with far less vibration.

What colors go well with #56005c?

For interface work: #FAF4FA as the surface, #EAC0ED for borders, #964B9B for secondary text, #1D5C00 as an accent and #770080 for hover and pressed states. For a palette, the analogous pair #28005C and #5C0034 stays calm, while #065C00 is the loudest partner.

What is #56005c in CMYK for printing?

cmyk(7%, 100%, 0%, 64%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #56005c warm or cool?

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5C0040; nudged cooler, #34005C.

Work with #56005c in the Color Lab