Skip to content

#5e115d

a deep, vivid magenta / pink · neutral · closest name: Purple

RGB
94, 17, 93
HSL
301°, 69%, 22%
CMYK
0, 82, 1, 63
Luminance
0.0357

At a glance

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

Hex
#5e115d
Hue
301°
magenta / pink
Saturation
69%
vivid
Lightness
22%
deep
Brightness
37%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0357
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
12.25:1
Closest name
Purple
ΔE2000 7.6
Where it sits
Hue301° of 360°
Saturation69%
Lightness22%
Temperature
Warm ← → Cool50% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#5e115d
RGBrgb(94, 17, 93)
HSLhsl(301, 69%, 22%)
CMYKcmyk(0%, 82%, 1%, 63%)
LABlab(22.2 42.8 -26.4)
LCHlch(22.2 50.3 328.4)
OKLCHoklch(0.348 0.141 328.7)
Decimal6164829
Display P3color(display-p3 0.369 0.067 0.365)

Copy-ready code

/* CSS */
color: #5e115d;
background-color: #5e115d;
/* Tailwind (arbitrary) */
class="text-[#5e115d] bg-[#5e115d]"
/* SCSS */
$brand: #5e115d;
/* SwiftUI */
Color(red: 0.369, green: 0.067, blue: 0.365)
/* Android */
Color.parseColor("#5e115d")
/* Flutter */
Color(0xFF5E115D)
/* Python / OpenCV (BGR) */
(93, 17, 94)

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

Accessibility — WCAG contrast

Aa
#5e115d on white: 12.25:1
AA ✓ pass · AA-large · AAA
Aa
#5e115d on black: 1.71:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #022F5F
deuteranopia · #28395B
tritanopia · #611D37

Color scale — 50 to 950

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

#FBF3FB
#F8E7F8
#F2CAF2
#EEA0ED
#E570E4
#DD41DB
#CF25CD
#AD1FAB
#8A1989
#5e115d
#3F0E3E
Base = 900Lightest = 50 · #FBF3FBDarkest = 950 · #3F0E3E
:root {
  --brand-50: #FBF3FB;
  --brand-100: #F8E7F8;
  --brand-200: #F2CAF2;
  --brand-300: #EEA0ED;
  --brand-400: #E570E4;
  --brand-500: #DD41DB;
  --brand-600: #CF25CD;
  --brand-700: #AD1FAB;
  --brand-800: #8A1989;
  --brand-900: #5e115d;
  --brand-950: #3F0E3E;
  --brand: #5e115d;
  --brand-ink: #ffffff;
}

Colors that work with #5e115d

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#FAF4FA
Tinted page background
Border#EDC0EC
Hairlines and dividers
Muted text#9B4B9A
Captions on the surface
Accent#22600F
Second voice, not a rival
Dark variant#6C146B
Hover, pressed, headers
Light variant#FBE9FB
Selected rows, tints
Dark surface#241424
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 #5e115d

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#115E12
Analogous left#39115E
Analogous right#5E1137
Split-complement 1#375E11
Split-complement 2#115E39
Triadic 1#5D5E11
Triadic 2#115D5E
Tetradic#5E3911

RGB percentages

Red36.9%
Green6.7%
Blue36.5%

CMYK percentages

Cyan0.0%
Magenta81.9%
Yellow1.1%
Key (black)63.1%

Color previews

#5e115d text on a black background

contrast 1.71:1

Card sample

#5e115d text on a white background

contrast 12.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5e115d;
Background color
Panel with #5e115d background
background-color: #5e115d;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5e115d;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(94, 17, 93, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(94, 17, 93, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5e115d;
background: linear-gradient(135deg, #5e115d, #5E112A);

Monochromatic scale

Palettes built from #5e115d

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.

#5e115d in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#5e115d, answered

What color is #5e115d?

#5e115d is a deep vivid magenta / pink, closest to Purple (ΔE2000 7.6). It sits at 301° on the hue wheel with 69% saturation and 22% lightness, which reads as neutral.

What is the RGB value of #5e115d?

rgb(94, 17, 93) — 94 red, 17 green and 93 blue out of 255, or 36.9% / 6.7% / 36.5% by channel.

Is #5e115d a light or a dark color?

It is a dark color. Relative luminance is 0.0357 and perceived brightness is 24%, so white text on it reaches 12.25:1.

Should I use black or white text on #5e115d?

White. It scores 12.25:1 against #5e115d, versus 1.71:1 for black — AAA at any size.

What is the complementary color of #5e115d?

#115E12 sits directly opposite on the wheel. Softer options are the split-complements #375E11 and #115E39, which give the same contrast with far less vibration.

What colors go well with #5e115d?

For interface work: #FAF4FA as the surface, #EDC0EC for borders, #9B4B9A for secondary text, #22600F as an accent and #6C146B for hover and pressed states. For a palette, the analogous pair #39115E and #5E1137 stays calm, while #115E12 is the loudest partner.

What is #5e115d in CMYK for printing?

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

Is #5e115d warm or cool?

Neutral — it scores 50 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5E1141; nudged cooler, #43105F.

Work with #5e115d in the Color Lab