#570b7c
a dark, electric violet · cool · closest name: Indigo
At a glance
Every number on this page in one read: what #570b7c is made of, how bright it looks, and which way it leans.
Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #570b7c |
| RGB | rgb(87, 11, 124) |
| HSL | hsl(280, 84%, 27%) |
| CMYK | cmyk(30%, 91%, 0%, 51%) |
| LAB | lab(22.7 49.3 -45.7) |
| LCH | lch(22.7 67.3 317.2) |
| OKLCH | oklch(0.357 0.170 310.1) |
| Decimal | 5704572 |
| Display P3 | color(display-p3 0.341 0.043 0.486) |
Copy-ready code
/* CSS */
color: #570b7c;
background-color: #570b7c;
/* Tailwind (arbitrary) */
class="text-[#570b7c] bg-[#570b7c]"
/* SCSS */
$brand: #570b7c;
/* SwiftUI */
Color(red: 0.341, green: 0.043, blue: 0.486)
/* Android */
Color.parseColor("#570b7c")
/* Flutter */
Color(0xFF570B7C)
/* Python / OpenCV (BGR) */
(124, 11, 87)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #570b7c is pinned to step 900; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #F9F2FC;
--brand-100: #F3E6FA;
--brand-200: #E6C5F6;
--brand-300: #D798F6;
--brand-400: #C364F1;
--brand-500: #AF31ED;
--brand-600: #9E14E1;
--brand-700: #8411BB;
--brand-800: #690D96;
--brand-900: #570b7c;
--brand-950: #300944;
--brand: #570b7c;
--brand-ink: #ffffff;
}Colors that work with #570b7c
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #570b7c
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠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 | #307C0B | Directly opposite — maximum tension | |
| Analogous left | #1F0B7C | Neighbour, quieter | |
| Analogous right | #7C0B69 | Neighbour, quieter | |
| Split-complement 1 | #697C0B | Contrast without the clash | |
| Split-complement 2 | #0B7C1F | Contrast without the clash | |
| Triadic 1 | #7C570B | Even thirds — balanced and loud | |
| Triadic 2 | #0B7C57 | Even thirds — balanced and loud | |
| Tetradic | #7C1F0B | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#570b7c text on a black background
contrast 1.74:1
#570b7c text on a white background
contrast 12.04:1
CSS3 live lab
The quick brown fox
color: #570b7c;
background-color: #570b7c;
Glowing headline
text-shadow: 2px 2px 8px #570b7c;
Soft neon halo
text-shadow: 0 0 14px rgba(87, 11, 124, 0.45);
box-shadow: 0 12px 32px -8px rgba(87, 11, 124, 0.45);
border: 3px solid #570b7c; background: linear-gradient(135deg, #570b7c, #7C0B56);
Monochromatic scale
Palettes built from #570b7c
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.
Closest color with a full write-up: Indigo (#4b0082) — ΔE2000 3.1 away, with its history, psychology and brand usage.
#570b7c in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#570b7c, answered
What color is #570b7c?
#570b7c is a dark electric violet, closest to Indigo (ΔE2000 3.1). It sits at 280° on the hue wheel with 84% saturation and 27% lightness, which reads as cool.
What is the RGB value of #570b7c?
rgb(87, 11, 124) — 87 red, 11 green and 124 blue out of 255, or 34.1% / 4.3% / 48.6% by channel.
Is #570b7c a light or a dark color?
It is a dark color. Relative luminance is 0.0372 and perceived brightness is 25%, so white text on it reaches 12.04:1.
Should I use black or white text on #570b7c?
White. It scores 12.04:1 against #570b7c, versus 1.74:1 for black — AAA at any size.
What is the complementary color of #570b7c?
#307C0B sits directly opposite on the wheel. Softer options are the split-complements #697C0B and #0B7C1F, which give the same contrast with far less vibration.
What colors go well with #570b7c?
For interface work: #F8F4FA as the surface, #DEC0ED for borders, #814B9B for secondary text, #4D7F08 as an accent and #520A75 for hover and pressed states. For a palette, the analogous pair #1F0B7C and #7C0B69 stays calm, while #307C0B is the loudest partner.
What is #570b7c in CMYK for printing?
cmyk(30%, 91%, 0%, 51%). 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 #570b7c warm or cool?
Cool — it scores 61 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7C0B78; nudged cooler, #2D0A7D.