Skip to content

#591fdf

a balanced, electric violet · cool · closest name: Blue

RGB
89, 31, 223
HSL
258°, 76%, 50%
CMYK
60, 86, 0, 13
Luminance
0.0843

At a glance

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

Hex
#591fdf
Hue
258°
violet
Saturation
76%
electric
Lightness
50%
balanced
Brightness
87%
HSV value
Perceived
36%
weighted brightness
Luminance
0.0843
WCAG relative
Temperature
Cool
73/100 cool
Color family
Violet
Tone
Electric
Best ink
White
7.82:1
Closest name
Blue
ΔE2000 5.2
Where it sits
Hue258° of 360°
Saturation76%
Lightness50%
Temperature
Warm ← → Cool73% 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#591fdf
RGBrgb(89, 31, 223)
HSLhsl(258, 76%, 50%)
CMYKcmyk(60%, 86%, 0%, 13%)
LABlab(34.9 67.5 -85.3)
LCHlch(34.9 108.8 308.3)
OKLCHoklch(0.470 0.254 284.6)
Decimal5840863
Display P3color(display-p3 0.349 0.122 0.875)

Copy-ready code

/* CSS */
color: #591fdf;
background-color: #591fdf;
/* Tailwind (arbitrary) */
class="text-[#591fdf] bg-[#591fdf]"
/* SCSS */
$brand: #591fdf;
/* SwiftUI */
Color(red: 0.349, green: 0.122, blue: 0.875)
/* Android */
Color.parseColor("#591fdf")
/* Flutter */
Color(0xFF591FDF)
/* Python / OpenCV (BGR) */
(223, 31, 89)

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

Accessibility — WCAG contrast

Aa
#591fdf on white: 7.82:1
AA ✓ pass · AA-large · AAA
Aa
#591fdf on black: 2.69:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0057E4
deuteranopia · #004CDC
tritanopia · #005F85

Color scale — 50 to 950

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

#F6F3FC
#ECE7F9
#D5C8F4
#B69CF1
#926BEA
#6D3AE4
#591fdf
#4719B3
#39148F
#2C1368
#1C0C41
Base = 600Lightest = 50 · #F6F3FCDarkest = 950 · #1C0C41
:root {
  --brand-50: #F6F3FC;
  --brand-100: #ECE7F9;
  --brand-200: #D5C8F4;
  --brand-300: #B69CF1;
  --brand-400: #926BEA;
  --brand-500: #6D3AE4;
  --brand-600: #591fdf;
  --brand-700: #4719B3;
  --brand-800: #39148F;
  --brand-900: #2C1368;
  --brand-950: #1C0C41;
  --brand: #591fdf;
  --brand-ink: #ffffff;
}

Colors that work with #591fdf

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#CDC0ED
Hairlines and dividers
Muted text#634B9B
Captions on the surface
Accent#AFB715
Second voice, not a rival
Dark variant#2D1070
Hover, pressed, headers
Light variant#EEE9FC
Selected rows, tints
Dark surface#191424
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 #591fdf

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#A5DF1F
Analogous left#1F45DF
Analogous right#B91FDF
Split-complement 1#DFB91F
Split-complement 2#45DF1F
Triadic 1#DF591F
Triadic 2#1FDF59
Tetradic#DF1F45

RGB percentages

Red34.9%
Green12.2%
Blue87.5%

CMYK percentages

Cyan60.1%
Magenta86.1%
Yellow0.0%
Key (black)12.5%

Color previews

#591fdf text on a black background

contrast 2.69:1

Card sample

#591fdf text on a white background

contrast 7.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #591fdf;
Background color
Panel with #591fdf background
background-color: #591fdf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #591fdf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(89, 31, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(89, 31, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #591fdf;
background: linear-gradient(135deg, #591fdf, #D91FDF);

Monochromatic scale

Palettes built from #591fdf

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.

#591fdf 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.

#591fdf, answered

What color is #591fdf?

#591fdf is a balanced electric violet, closest to Blue (ΔE2000 5.2). It sits at 258° on the hue wheel with 76% saturation and 50% lightness, which reads as cool.

What is the RGB value of #591fdf?

rgb(89, 31, 223) — 89 red, 31 green and 223 blue out of 255, or 34.9% / 12.2% / 87.5% by channel.

Is #591fdf a light or a dark color?

It is a dark color. Relative luminance is 0.0843 and perceived brightness is 36%, so white text on it reaches 7.82:1.

Should I use black or white text on #591fdf?

White. It scores 7.82:1 against #591fdf, versus 2.69:1 for black — AAA at any size.

What is the complementary color of #591fdf?

#A5DF1F sits directly opposite on the wheel. Softer options are the split-complements #DFB91F and #45DF1F, which give the same contrast with far less vibration.

What colors go well with #591fdf?

For interface work: #F6F4FA as the surface, #CDC0ED for borders, #634B9B for secondary text, #AFB715 as an accent and #2D1070 for hover and pressed states. For a palette, the analogous pair #1F45DF and #B91FDF stays calm, while #A5DF1F is the loudest partner.

What is #591fdf in CMYK for printing?

cmyk(60%, 86%, 0%, 13%). 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 #591fdf warm or cool?

Cool — it scores 73 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #9F1FDF; nudged cooler, #1C29E2.

Work with #591fdf in the Color Lab