Skip to content

#571bbc

a dark, vivid violet · cool · closest name: Medium Blue

RGB
87, 27, 188
HSL
262°, 75%, 42%
CMYK
54, 86, 0, 26
Luminance
0.0644

At a glance

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

Hex
#571bbc
Hue
262°
violet
Saturation
75%
vivid
Lightness
42%
dark
Brightness
74%
HSV value
Perceived
32%
weighted brightness
Luminance
0.0644
WCAG relative
Temperature
Cool
71/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
9.18:1
Closest name
Medium Blue
ΔE2000 6.5
Where it sits
Hue262° of 360°
Saturation75%
Lightness42%
Temperature
Warm ← → Cool71% 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#571bbc
RGBrgb(87, 27, 188)
HSLhsl(262, 75%, 42%)
CMYKcmyk(54%, 86%, 0%, 26%)
LABlab(30.5 59.8 -72.2)
LCHlch(30.5 93.7 309.6)
OKLCHoklch(0.429 0.221 290.2)
Decimal5708732
Display P3color(display-p3 0.341 0.106 0.737)

Copy-ready code

/* CSS */
color: #571bbc;
background-color: #571bbc;
/* Tailwind (arbitrary) */
class="text-[#571bbc] bg-[#571bbc]"
/* SCSS */
$brand: #571bbc;
/* SwiftUI */
Color(red: 0.341, green: 0.106, blue: 0.737)
/* Android */
Color.parseColor("#571bbc")
/* Flutter */
Color(0xFF571BBC)
/* Python / OpenCV (BGR) */
(188, 27, 87)

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 #571bbc · 9.18:1
Use #ffffffAAA at every size.
Aa
White text · 9.18:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.29:1
AA fail · AA large fail · AAA fail
Reading the other direction: #571bbc as text scores 9.18:1 on white and 2.29:1 on black.

Accessibility — WCAG contrast

Aa
#571bbc on white: 9.18:1
AA ✓ pass · AA-large · AAA
Aa
#571bbc on black: 2.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004BC0
deuteranopia · #0044B9
tritanopia · #2F4E70

Color scale — 50 to 950

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

#F6F3FC
#EDE7F9
#D8C8F4
#BC9DF1
#9B6CEA
#7A3BE3
#631FD6
#571bbc
#42148F
#331367
#200C41
Base = 700Lightest = 50 · #F6F3FCDarkest = 950 · #200C41
:root {
  --brand-50: #F6F3FC;
  --brand-100: #EDE7F9;
  --brand-200: #D8C8F4;
  --brand-300: #BC9DF1;
  --brand-400: #9B6CEA;
  --brand-500: #7A3BE3;
  --brand-600: #631FD6;
  --brand-700: #571bbc;
  --brand-800: #42148F;
  --brand-900: #331367;
  --brand-950: #200C41;
  --brand: #571bbc;
  --brand-ink: #ffffff;
}

Colors that work with #571bbc

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#D1C0ED
Hairlines and dividers
Muted text#694B9B
Captions on the surface
Accent#A2B616
Second voice, not a rival
Dark variant#34106F
Hover, pressed, headers
Light variant#F0E9FC
Selected rows, tints
Dark surface#1A1424
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 #571bbc

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#80BC1B
Analogous left#1B2FBC
Analogous right#A81BBC
Split-complement 1#BCA81B
Split-complement 2#2FBC1B
Triadic 1#BC571B
Triadic 2#1BBC57
Tetradic#BC1B2F

RGB percentages

Red34.1%
Green10.6%
Blue73.7%

CMYK percentages

Cyan53.7%
Magenta85.6%
Yellow0.0%
Key (black)26.3%

Color previews

#571bbc text on a black background

contrast 2.29:1

Card sample

#571bbc text on a white background

contrast 9.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #571bbc;
Background color
Panel with #571bbc background
background-color: #571bbc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #571bbc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(87, 27, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(87, 27, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #571bbc;
background: linear-gradient(135deg, #571bbc, #BC1BB6);

Monochromatic scale

Palettes built from #571bbc

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.

#571bbc 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

Converts to four-color process without much drama. Proof it anyway.

#571bbc, answered

What color is #571bbc?

#571bbc is a dark vivid violet, closest to Medium Blue (ΔE2000 6.5). It sits at 262° on the hue wheel with 75% saturation and 42% lightness, which reads as cool.

What is the RGB value of #571bbc?

rgb(87, 27, 188) — 87 red, 27 green and 188 blue out of 255, or 34.1% / 10.6% / 73.7% by channel.

Is #571bbc a light or a dark color?

It is a dark color. Relative luminance is 0.0644 and perceived brightness is 32%, so white text on it reaches 9.18:1.

Should I use black or white text on #571bbc?

White. It scores 9.18:1 against #571bbc, versus 2.29:1 for black — AAA at any size.

What is the complementary color of #571bbc?

#80BC1B sits directly opposite on the wheel. Softer options are the split-complements #BCA81B and #2FBC1B, which give the same contrast with far less vibration.

What colors go well with #571bbc?

For interface work: #F7F4FA as the surface, #D1C0ED for borders, #694B9B for secondary text, #A2B616 as an accent and #34106F for hover and pressed states. For a palette, the analogous pair #1B2FBC and #A81BBC stays calm, while #80BC1B is the loudest partner.

What is #571bbc in CMYK for printing?

cmyk(54%, 86%, 0%, 26%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #571bbc warm or cool?

Cool — it scores 71 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #921BBC; nudged cooler, #1A19BE.

Work with #571bbc in the Color Lab