Skip to content

#552dba

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

RGB
85, 45, 186
HSL
257°, 61%, 45%
CMYK
54, 76, 0, 27
Luminance
0.0735

At a glance

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

Hex
#552dba
Hue
257°
violet
Saturation
61%
vivid
Lightness
45%
balanced
Brightness
73%
HSV value
Perceived
33%
weighted brightness
Luminance
0.0735
WCAG relative
Temperature
Cool
74/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
8.50:1
Closest name
Rebecca Purple
ΔE2000 6.4
Where it sits
Hue257° of 360°
Saturation61%
Lightness45%
Temperature
Warm ← → Cool74% 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#552dba
RGBrgb(85, 45, 186)
HSLhsl(257, 61%, 45%)
CMYKcmyk(54%, 76%, 0%, 27%)
LABlab(32.6 51.7 -67.5)
LCHlch(32.6 85.0 307.4)
OKLCHoklch(0.442 0.204 287.9)
Decimal5582266
Display P3color(display-p3 0.333 0.176 0.729)

Copy-ready code

/* CSS */
color: #552dba;
background-color: #552dba;
/* Tailwind (arbitrary) */
class="text-[#552dba] bg-[#552dba]"
/* SCSS */
$brand: #552dba;
/* SwiftUI */
Color(red: 0.333, green: 0.176, blue: 0.729)
/* Android */
Color.parseColor("#552dba")
/* Flutter */
Color(0xFF552DBA)
/* Python / OpenCV (BGR) */
(186, 45, 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 #552dba · 8.50:1
Use #ffffffAAA at every size.
Aa
White text · 8.50:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.47:1
AA fail · AA large fail · AAA fail
Reading the other direction: #552dba as text scores 8.50:1 on white and 2.47:1 on black.

Accessibility — WCAG contrast

Aa
#552dba on white: 8.50:1
AA ✓ pass · AA-large · AAA
Aa
#552dba on black: 2.47:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0050BE
deuteranopia · #0049B7
tritanopia · #2B5572

Color scale — 50 to 950

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

#F6F4FB
#EDE8F7
#D6CCF0
#B8A5E9
#9578DE
#714AD3
#552dba
#4B28A4
#3C2083
#2E1B60
#1D113C
Base = 600Lightest = 50 · #F6F4FBDarkest = 950 · #1D113C
:root {
  --brand-50: #F6F4FB;
  --brand-100: #EDE8F7;
  --brand-200: #D6CCF0;
  --brand-300: #B8A5E9;
  --brand-400: #9578DE;
  --brand-500: #714AD3;
  --brand-600: #552dba;
  --brand-700: #4B28A4;
  --brand-800: #3C2083;
  --brand-900: #2E1B60;
  --brand-950: #1D113C;
  --brand: #552dba;
  --brand-ink: #ffffff;
}

Colors that work with #552dba

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#F6F4FA
Tinted page background
Border#CCC0ED
Hairlines and dividers
Muted text#614B9B
Captions on the surface
Accent#A4A923
Second voice, not a rival
Dark variant#2F1967
Hover, pressed, headers
Light variant#EFEAFA
Selected rows, tints
Dark surface#181424
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 #552dba

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
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • 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#92BA2D
Analogous left#2D4CBA
Analogous right#9B2DBA
Split-complement 1#BA9B2D
Split-complement 2#4CBA2D
Triadic 1#BA552D
Triadic 2#2DBA55
Tetradic#BA2D4C

RGB percentages

Red33.3%
Green17.6%
Blue72.9%

CMYK percentages

Cyan54.3%
Magenta75.8%
Yellow0.0%
Key (black)27.1%

Color previews

#552dba text on a black background

contrast 2.47:1

Card sample

#552dba text on a white background

contrast 8.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(85, 45, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(85, 45, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #552dba;
background: linear-gradient(135deg, #552dba, #B32DBA);

Monochromatic scale

Palettes built from #552dba

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.

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

#552dba, answered

What color is #552dba?

#552dba is a balanced vivid violet, closest to Rebecca Purple (ΔE2000 6.4). It sits at 257° on the hue wheel with 61% saturation and 45% lightness, which reads as cool.

What is the RGB value of #552dba?

rgb(85, 45, 186) — 85 red, 45 green and 186 blue out of 255, or 33.3% / 17.6% / 72.9% by channel.

Is #552dba a light or a dark color?

It is a dark color. Relative luminance is 0.0735 and perceived brightness is 33%, so white text on it reaches 8.50:1.

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

White. It scores 8.50:1 against #552dba, versus 2.47:1 for black — AAA at any size.

What is the complementary color of #552dba?

#92BA2D sits directly opposite on the wheel. Softer options are the split-complements #BA9B2D and #4CBA2D, which give the same contrast with far less vibration.

What colors go well with #552dba?

For interface work: #F6F4FA as the surface, #CCC0ED for borders, #614B9B for secondary text, #A4A923 as an accent and #2F1967 for hover and pressed states. For a palette, the analogous pair #2D4CBA and #9B2DBA stays calm, while #92BA2D is the loudest partner.

What is #552dba in CMYK for printing?

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

Is #552dba warm or cool?

Cool — it scores 74 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #892DBA; nudged cooler, #2B37BC.

Work with #552dba in the Color Lab