Skip to content

#552b7b

a dark, vivid violet · cool · closest name: Rebecca Purple

RGB
85, 43, 123
HSL
272°, 48%, 33%
CMYK
31, 65, 0, 52
Luminance
0.0509

At a glance

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

Hex
#552b7b
Hue
272°
violet
Saturation
48%
vivid
Lightness
33%
dark
Brightness
48%
HSV value
Perceived
28%
weighted brightness
Luminance
0.0509
WCAG relative
Temperature
Cool
66/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
10.41:1
Closest name
Rebecca Purple
ΔE2000 5.6
Where it sits
Hue272° of 360°
Saturation48%
Lightness33%
Temperature
Warm ← → Cool66% 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#552b7b
RGBrgb(85, 43, 123)
HSLhsl(272, 48%, 33%)
CMYKcmyk(31%, 65%, 0%, 52%)
LABlab(27.0 35.5 -38.2)
LCHlch(27.0 52.1 312.9)
OKLCHoklch(0.386 0.132 305.2)
Decimal5581691
Display P3color(display-p3 0.333 0.169 0.482)

Copy-ready code

/* CSS */
color: #552b7b;
background-color: #552b7b;
/* Tailwind (arbitrary) */
class="text-[#552b7b] bg-[#552b7b]"
/* SCSS */
$brand: #552b7b;
/* SwiftUI */
Color(red: 0.333, green: 0.169, blue: 0.482)
/* Android */
Color.parseColor("#552b7b")
/* Flutter */
Color(0xFF552B7B)
/* Python / OpenCV (BGR) */
(123, 43, 85)

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

Accessibility — WCAG contrast

Aa
#552b7b on white: 10.41:1
AA ✓ pass · AA-large · AAA
Aa
#552b7b on black: 2.02:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #003F7E
deuteranopia · #184079
tritanopia · #4E3C4F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #552b7b 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.

#F7F4FA
#F0EAF5
#DFD0EC
#C8ACE2
#AD82D3
#9259C5
#7D3FB5
#683597
#552b7b
#3F2258
#271537
Base = 800Lightest = 50 · #F7F4FADarkest = 950 · #271537
:root {
  --brand-50: #F7F4FA;
  --brand-100: #F0EAF5;
  --brand-200: #DFD0EC;
  --brand-300: #C8ACE2;
  --brand-400: #AD82D3;
  --brand-500: #9259C5;
  --brand-600: #7D3FB5;
  --brand-700: #683597;
  --brand-800: #552b7b;
  --brand-900: #3F2258;
  --brand-950: #271537;
  --brand: #552b7b;
  --brand-ink: #ffffff;
}

Colors that work with #552b7b

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#F8F4FA
Tinted page background
Border#D7C3EA
Hairlines and dividers
Muted text#754B9B
Captions on the surface
Accent#667E28
Second voice, not a rival
Dark variant#41215E
Hover, pressed, headers
Light variant#F3ECF8
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 #552b7b

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#517B2B
Analogous left#2D2B7B
Analogous right#7B2B79
Split-complement 1#797B2B
Split-complement 2#2B7B2D
Triadic 1#7B552B
Triadic 2#2B7B55
Tetradic#7B2D2B

RGB percentages

Red33.3%
Green16.9%
Blue48.2%

CMYK percentages

Cyan30.9%
Magenta65.0%
Yellow0.0%
Key (black)51.8%

Color previews

#552b7b text on a black background

contrast 2.02:1

Card sample

#552b7b text on a white background

contrast 10.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #552b7b;
Background color
Panel with #552b7b background
background-color: #552b7b;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #552b7b;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(85, 43, 123, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(85, 43, 123, 0.45);
Border & gradient
Gradient panel
border: 3px solid #552b7b;
background: linear-gradient(135deg, #552b7b, #7B2B6C);

Monochromatic scale

Palettes built from #552b7b

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.

#552b7b 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.

#552b7b, answered

What color is #552b7b?

#552b7b is a dark vivid violet, closest to Rebecca Purple (ΔE2000 5.6). It sits at 272° on the hue wheel with 48% saturation and 33% lightness, which reads as cool.

What is the RGB value of #552b7b?

rgb(85, 43, 123) — 85 red, 43 green and 123 blue out of 255, or 33.3% / 16.9% / 48.2% by channel.

Is #552b7b a light or a dark color?

It is a dark color. Relative luminance is 0.0509 and perceived brightness is 28%, so white text on it reaches 10.41:1.

Should I use black or white text on #552b7b?

White. It scores 10.41:1 against #552b7b, versus 2.02:1 for black — AAA at any size.

What is the complementary color of #552b7b?

#517B2B sits directly opposite on the wheel. Softer options are the split-complements #797B2B and #2B7B2D, which give the same contrast with far less vibration.

What colors go well with #552b7b?

For interface work: #F8F4FA as the surface, #D7C3EA for borders, #754B9B for secondary text, #667E28 as an accent and #41215E for hover and pressed states. For a palette, the analogous pair #2D2B7B and #7B2B79 stays calm, while #517B2B is the loudest partner.

What is #552b7b in CMYK for printing?

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

Is #552b7b warm or cool?

Cool — it scores 66 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #722B7B; nudged cooler, #36297C.

Work with #552b7b in the Color Lab