Skip to content

#560da7

a dark, electric violet · cool · closest name: Indigo

RGB
86, 13, 167
HSL
268°, 86%, 35%
CMYK
49, 92, 0, 35
Luminance
0.0506

At a glance

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

Hex
#560da7
Hue
268°
violet
Saturation
86%
electric
Lightness
35%
dark
Brightness
65%
HSV value
Perceived
29%
weighted brightness
Luminance
0.0506
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Electric
Best ink
White
10.44:1
Closest name
Indigo
ΔE2000 5.8
Where it sits
Hue268° of 360°
Saturation86%
Lightness35%
Temperature
Warm ← → Cool68% cool

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

Every format

HEX#560da7
RGBrgb(86, 13, 167)
HSLhsl(268, 86%, 35%)
CMYKcmyk(49%, 92%, 0%, 35%)
LABlab(26.9 58.4 -65.5)
LCHlch(26.9 87.8 311.7)
OKLCHoklch(0.397 0.208 295.5)
Decimal5639591
Display P3color(display-p3 0.337 0.051 0.655)

Copy-ready code

/* CSS */
color: #560da7;
background-color: #560da7;
/* Tailwind (arbitrary) */
class="text-[#560da7] bg-[#560da7]"
/* SCSS */
$brand: #560da7;
/* SwiftUI */
Color(red: 0.337, green: 0.051, blue: 0.655)
/* Android */
Color.parseColor("#560da7")
/* Flutter */
Color(0xFF560DA7)
/* Python / OpenCV (BGR) */
(167, 13, 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 #560da7 · 10.44:1
Use #ffffffAAA at every size.
Aa
White text · 10.44:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.01:1
AA fail · AA large fail · AAA fail
Reading the other direction: #560da7 as text scores 10.44:1 on white and 2.01:1 on black.

Accessibility — WCAG contrast

Aa
#560da7 on white: 10.44:1
AA ✓ pass · AA-large · AAA
Aa
#560da7 on black: 2.01:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0041AB
deuteranopia · #003DA4
tritanopia · #3E4161

Color scale — 50 to 950

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

#F7F2FD
#EFE5FA
#DDC5F7
#C497F7
#A763F3
#8A2FEF
#7512E3
#610FBD
#560da7
#3B0D6D
#250844
Base = 800Lightest = 50 · #F7F2FDDarkest = 950 · #250844
:root {
  --brand-50: #F7F2FD;
  --brand-100: #EFE5FA;
  --brand-200: #DDC5F7;
  --brand-300: #C497F7;
  --brand-400: #A763F3;
  --brand-500: #8A2FEF;
  --brand-600: #7512E3;
  --brand-700: #610FBD;
  --brand-800: #560da7;
  --brand-900: #3B0D6D;
  --brand-950: #250844;
  --brand: #560da7;
  --brand-ink: #ffffff;
}

Colors that work with #560da7

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#F7F4FA
Tinted page background
Border#D5C0ED
Hairlines and dividers
Muted text#714B9B
Captions on the surface
Accent#99C20A
Second voice, not a rival
Dark variant#3D0976
Hover, pressed, headers
Light variant#F2E7FD
Selected rows, tints
Dark surface#1C1424
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 #560da7

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#5EA70D
Analogous left#0D11A7
Analogous right#A30DA7
Split-complement 1#A7A30D
Split-complement 2#11A70D
Triadic 1#A7560D
Triadic 2#0DA756
Tetradic#A70D11

RGB percentages

Red33.7%
Green5.1%
Blue65.5%

CMYK percentages

Cyan48.5%
Magenta92.2%
Yellow0.0%
Key (black)34.5%

Color previews

#560da7 text on a black background

contrast 2.01:1

Card sample

#560da7 text on a white background

contrast 10.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #560da7;
Background color
Panel with #560da7 background
background-color: #560da7;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #560da7;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(86, 13, 167, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 13, 167, 0.45);
Border & gradient
Gradient panel
border: 3px solid #560da7;
background: linear-gradient(135deg, #560da7, #A70D91);

Monochromatic scale

Palettes built from #560da7

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.

#560da7 in the real world

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

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#560da7, answered

What color is #560da7?

#560da7 is a dark electric violet, closest to Indigo (ΔE2000 5.8). It sits at 268° on the hue wheel with 86% saturation and 35% lightness, which reads as cool.

What is the RGB value of #560da7?

rgb(86, 13, 167) — 86 red, 13 green and 167 blue out of 255, or 33.7% / 5.1% / 65.5% by channel.

Is #560da7 a light or a dark color?

It is a dark color. Relative luminance is 0.0506 and perceived brightness is 29%, so white text on it reaches 10.44:1.

Should I use black or white text on #560da7?

White. It scores 10.44:1 against #560da7, versus 2.01:1 for black — AAA at any size.

What is the complementary color of #560da7?

#5EA70D sits directly opposite on the wheel. Softer options are the split-complements #A7A30D and #11A70D, which give the same contrast with far less vibration.

What colors go well with #560da7?

For interface work: #F7F4FA as the surface, #D5C0ED for borders, #714B9B for secondary text, #99C20A as an accent and #3D0976 for hover and pressed states. For a palette, the analogous pair #0D11A7 and #A30DA7 stays calm, while #5EA70D is the loudest partner.

What is #560da7 in CMYK for printing?

cmyk(49%, 92%, 0%, 35%). 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 #560da7 warm or cool?

Cool — it scores 68 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8E0DA7; nudged cooler, #1C0BA9.

Work with #560da7 in the Color Lab