Skip to content

#5d36af

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

RGB
93, 54, 175
HSL
259°, 53%, 45%
CMYK
47, 69, 0, 31
Luminance
0.0806

At a glance

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

Hex
#5d36af
Hue
259°
violet
Saturation
53%
vivid
Lightness
45%
dark
Brightness
69%
HSV value
Perceived
35%
weighted brightness
Luminance
0.0806
WCAG relative
Temperature
Cool
73/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
8.04:1
Closest name
Rebecca Purple
ΔE2000 4.4
Where it sits
Hue259° of 360°
Saturation53%
Lightness45%
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#5d36af
RGBrgb(93, 54, 175)
HSLhsl(259, 53%, 45%)
CMYKcmyk(47%, 69%, 0%, 31%)
LABlab(34.1 45.3 -58.5)
LCHlch(34.1 74.0 307.8)
OKLCHoklch(0.452 0.181 292.4)
Decimal6108847
Display P3color(display-p3 0.365 0.212 0.686)

Copy-ready code

/* CSS */
color: #5d36af;
background-color: #5d36af;
/* Tailwind (arbitrary) */
class="text-[#5d36af] bg-[#5d36af]"
/* SCSS */
$brand: #5d36af;
/* SwiftUI */
Color(red: 0.365, green: 0.212, blue: 0.686)
/* Android */
Color.parseColor("#5d36af")
/* Flutter */
Color(0xFF5D36AF)
/* Python / OpenCV (BGR) */
(175, 54, 93)

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

Accessibility — WCAG contrast

Aa
#5d36af on white: 8.04:1
AA ✓ pass · AA-large · AAA
Aa
#5d36af on black: 2.61:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0052B3
deuteranopia · #004EAD
tritanopia · #44546E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #5d36af 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
#EDE9F6
#D8CEED
#BCA9E5
#9B7ED7
#7A54CA
#5d36af
#53309C
#42277D
#331F5B
#201439
Base = 600Lightest = 50 · #F6F4FBDarkest = 950 · #201439
:root {
  --brand-50: #F6F4FB;
  --brand-100: #EDE9F6;
  --brand-200: #D8CEED;
  --brand-300: #BCA9E5;
  --brand-400: #9B7ED7;
  --brand-500: #7A54CA;
  --brand-600: #5d36af;
  --brand-700: #53309C;
  --brand-800: #42277D;
  --brand-900: #331F5B;
  --brand-950: #201439;
  --brand: #5d36af;
  --brand-ink: #ffffff;
}

Colors that work with #5d36af

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#CFC1EC
Hairlines and dividers
Muted text#644B9B
Captions on the surface
Accent#97A02C
Second voice, not a rival
Dark variant#341E61
Hover, pressed, headers
Light variant#F0ECF9
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 #5d36af

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#88AF36
Analogous left#364CAF
Analogous right#9936AF
Split-complement 1#AF9936
Split-complement 2#4CAF36
Triadic 1#AF5D36
Triadic 2#36AF5D
Tetradic#AF364C

RGB percentages

Red36.5%
Green21.2%
Blue68.6%

CMYK percentages

Cyan46.9%
Magenta69.1%
Yellow0.0%
Key (black)31.4%

Color previews

#5d36af text on a black background

contrast 2.61:1

Card sample

#5d36af text on a white background

contrast 8.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5d36af

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.

#5d36af 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.

#5d36af, answered

What color is #5d36af?

#5d36af is a dark vivid violet, closest to Rebecca Purple (ΔE2000 4.4). It sits at 259° on the hue wheel with 53% saturation and 45% lightness, which reads as cool.

What is the RGB value of #5d36af?

rgb(93, 54, 175) — 93 red, 54 green and 175 blue out of 255, or 36.5% / 21.2% / 68.6% by channel.

Is #5d36af a light or a dark color?

It is a dark color. Relative luminance is 0.0806 and perceived brightness is 35%, so white text on it reaches 8.04:1.

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

White. It scores 8.04:1 against #5d36af, versus 2.61:1 for black — AAA at any size.

What is the complementary color of #5d36af?

#88AF36 sits directly opposite on the wheel. Softer options are the split-complements #AF9936 and #4CAF36, which give the same contrast with far less vibration.

What colors go well with #5d36af?

For interface work: #F6F4FA as the surface, #CFC1EC for borders, #644B9B for secondary text, #97A02C as an accent and #341E61 for hover and pressed states. For a palette, the analogous pair #364CAF and #9936AF stays calm, while #88AF36 is the loudest partner.

What is #5d36af in CMYK for printing?

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

Is #5d36af 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 #8936AF; nudged cooler, #3439B1.

Work with #5d36af in the Color Lab