Skip to content

#5909af

a dark, electric violet · cool · closest name: Indigo

RGB
89, 9, 175
HSL
269°, 90%, 36%
CMYK
49, 95, 0, 31
Luminance
0.0541

At a glance

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

Hex
#5909af
Hue
269°
violet
Saturation
90%
electric
Lightness
36%
dark
Brightness
69%
HSV value
Perceived
30%
weighted brightness
Luminance
0.0541
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Electric
Best ink
White
10.08:1
Closest name
Indigo
ΔE2000 6.9
Where it sits
Hue269° of 360°
Saturation90%
Lightness36%
Temperature
Warm ← → Cool67% 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#5909af
RGBrgb(89, 9, 175)
HSLhsl(269, 90%, 36%)
CMYKcmyk(49%, 95%, 0%, 31%)
LABlab(27.9 61.4 -68.7)
LCHlch(27.9 92.1 311.8)
OKLCHoklch(0.407 0.218 295.1)
Decimal5835183
Display P3color(display-p3 0.349 0.035 0.686)

Copy-ready code

/* CSS */
color: #5909af;
background-color: #5909af;
/* Tailwind (arbitrary) */
class="text-[#5909af] bg-[#5909af]"
/* SCSS */
$brand: #5909af;
/* SwiftUI */
Color(red: 0.349, green: 0.035, blue: 0.686)
/* Android */
Color.parseColor("#5909af")
/* Flutter */
Color(0xFF5909AF)
/* Python / OpenCV (BGR) */
(175, 9, 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 #5909af · 10.08:1
Use #ffffffAAA at every size.
Aa
White text · 10.08:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.08:1
AA fail · AA large fail · AAA fail
Reading the other direction: #5909af as text scores 10.08:1 on white and 2.08:1 on black.

Accessibility — WCAG contrast

Aa
#5909af on white: 10.08:1
AA ✓ pass · AA-large · AAA
Aa
#5909af on black: 2.08:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0043B3
deuteranopia · #003FAC
tritanopia · #3E4466

Color scale — 50 to 950

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

#F7F2FD
#EFE5FB
#DDC3F8
#C594FA
#A85FF7
#8B2AF4
#760CE9
#5909af
#4F089B
#3B0A70
#250746
Base = 700Lightest = 50 · #F7F2FDDarkest = 950 · #250746
:root {
  --brand-50: #F7F2FD;
  --brand-100: #EFE5FB;
  --brand-200: #DDC3F8;
  --brand-300: #C594FA;
  --brand-400: #A85FF7;
  --brand-500: #8B2AF4;
  --brand-600: #760CE9;
  --brand-700: #5909af;
  --brand-800: #4F089B;
  --brand-900: #3B0A70;
  --brand-950: #250746;
  --brand: #5909af;
  --brand-ink: #ffffff;
}

Colors that work with #5909af

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#D5C0ED
Hairlines and dividers
Muted text#714B9B
Captions on the surface
Accent#9AC606
Second voice, not a rival
Dark variant#3E0679
Hover, pressed, headers
Light variant#F2E7FE
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 #5909af

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#5FAF09
Analogous left#090CAF
Analogous right#AC09AF
Split-complement 1#AFAC09
Split-complement 2#0CAF09
Triadic 1#AF5909
Triadic 2#09AF59
Tetradic#AF090C

RGB percentages

Red34.9%
Green3.5%
Blue68.6%

CMYK percentages

Cyan49.1%
Magenta94.9%
Yellow0.0%
Key (black)31.4%

Color previews

#5909af text on a black background

contrast 2.08:1

Card sample

#5909af text on a white background

contrast 10.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5909af;
Background color
Panel with #5909af background
background-color: #5909af;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5909af;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(89, 9, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(89, 9, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5909af;
background: linear-gradient(135deg, #5909af, #AF0996);

Monochromatic scale

Palettes built from #5909af

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.

#5909af 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.

#5909af, answered

What color is #5909af?

#5909af is a dark electric violet, closest to Indigo (ΔE2000 6.9). It sits at 269° on the hue wheel with 90% saturation and 36% lightness, which reads as cool.

What is the RGB value of #5909af?

rgb(89, 9, 175) — 89 red, 9 green and 175 blue out of 255, or 34.9% / 3.5% / 68.6% by channel.

Is #5909af a light or a dark color?

It is a dark color. Relative luminance is 0.0541 and perceived brightness is 30%, so white text on it reaches 10.08:1.

Should I use black or white text on #5909af?

White. It scores 10.08:1 against #5909af, versus 2.08:1 for black — AAA at any size.

What is the complementary color of #5909af?

#5FAF09 sits directly opposite on the wheel. Softer options are the split-complements #AFAC09 and #0CAF09, which give the same contrast with far less vibration.

What colors go well with #5909af?

For interface work: #F7F4FA as the surface, #D5C0ED for borders, #714B9B for secondary text, #9AC606 as an accent and #3E0679 for hover and pressed states. For a palette, the analogous pair #090CAF and #AC09AF stays calm, while #5FAF09 is the loudest partner.

What is #5909af in CMYK for printing?

cmyk(49%, 95%, 0%, 31%). 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 #5909af warm or cool?

Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #9609AF; nudged cooler, #1B07B1.

Work with #5909af in the Color Lab