Skip to content

#5c0175

a deep, electric violet · neutral · closest name: Indigo

RGB
92, 1, 117
HSL
287°, 98%, 23%
CMYK
21, 99, 0, 54
Luminance
0.0358

At a glance

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

Hex
#5c0175
Hue
287°
violet
Saturation
98%
electric
Lightness
23%
deep
Brightness
46%
HSV value
Perceived
25%
weighted brightness
Luminance
0.0358
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
White
12.24:1
Closest name
Indigo
ΔE2000 4.7
Where it sits
Hue287° of 360°
Saturation98%
Lightness23%
Temperature
Warm ← → Cool57% 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#5c0175
RGBrgb(92, 1, 117)
HSLhsl(287, 98%, 23%)
CMYKcmyk(21%, 99%, 0%, 54%)
LABlab(22.2 50.9 -42.0)
LCHlch(22.2 66.0 320.5)
OKLCHoklch(0.353 0.172 316.3)
Decimal6029685
Display P3color(display-p3 0.361 0.004 0.459)

Copy-ready code

/* CSS */
color: #5c0175;
background-color: #5c0175;
/* Tailwind (arbitrary) */
class="text-[#5c0175] bg-[#5c0175]"
/* SCSS */
$brand: #5c0175;
/* SwiftUI */
Color(red: 0.361, green: 0.004, blue: 0.459)
/* Android */
Color.parseColor("#5c0175")
/* Flutter */
Color(0xFF5C0175)
/* Python / OpenCV (BGR) */
(117, 1, 92)

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

Accessibility — WCAG contrast

Aa
#5c0175 on white: 12.24:1
AA ✓ pass · AA-large · AAA
Aa
#5c0175 on black: 1.72:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #003178
deuteranopia · #003773
tritanopia · #5A2542

Color scale — 50 to 950

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

#FBF1FD
#F7E3FC
#EFC1FB
#E690FE
#DA58FE
#CE21FD
#BF02F3
#9F02CA
#7F01A2
#5c0175
#3A0449
Base = 900Lightest = 50 · #FBF1FDDarkest = 950 · #3A0449
:root {
  --brand-50: #FBF1FD;
  --brand-100: #F7E3FC;
  --brand-200: #EFC1FB;
  --brand-300: #E690FE;
  --brand-400: #DA58FE;
  --brand-500: #CE21FD;
  --brand-600: #BF02F3;
  --brand-700: #9F02CA;
  --brand-800: #7F01A2;
  --brand-900: #5c0175;
  --brand-950: #3A0449;
  --brand: #5c0175;
  --brand-ink: #ffffff;
}

Colors that work with #5c0175

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#F9F4FA
Tinted page background
Border#E3C0ED
Hairlines and dividers
Muted text#8A4B9B
Captions on the surface
Accent#377600
Second voice, not a rival
Dark variant#63017E
Hover, pressed, headers
Light variant#F9E6FF
Selected rows, tints
Dark surface#211424
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 #5c0175

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#1A7501
Analogous left#220175
Analogous right#750154
Split-complement 1#547501
Split-complement 2#017522
Triadic 1#755C01
Triadic 2#01755C
Tetradic#752201

RGB percentages

Red36.1%
Green0.4%
Blue45.9%

CMYK percentages

Cyan21.4%
Magenta99.1%
Yellow0.0%
Key (black)54.1%

Color previews

#5c0175 text on a black background

contrast 1.72:1

Card sample

#5c0175 text on a white background

contrast 12.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(92, 1, 117, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(92, 1, 117, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5c0175;
background: linear-gradient(135deg, #5c0175, #750141);

Monochromatic scale

Palettes built from #5c0175

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.

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

#5c0175, answered

What color is #5c0175?

#5c0175 is a deep electric violet, closest to Indigo (ΔE2000 4.7). It sits at 287° on the hue wheel with 98% saturation and 23% lightness, which reads as neutral.

What is the RGB value of #5c0175?

rgb(92, 1, 117) — 92 red, 1 green and 117 blue out of 255, or 36.1% / 0.4% / 45.9% by channel.

Is #5c0175 a light or a dark color?

It is a dark color. Relative luminance is 0.0358 and perceived brightness is 25%, so white text on it reaches 12.24:1.

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

White. It scores 12.24:1 against #5c0175, versus 1.72:1 for black — AAA at any size.

What is the complementary color of #5c0175?

#1A7501 sits directly opposite on the wheel. Softer options are the split-complements #547501 and #017522, which give the same contrast with far less vibration.

What colors go well with #5c0175?

For interface work: #F9F4FA as the surface, #E3C0ED for borders, #8A4B9B for secondary text, #377600 as an accent and #63017E for hover and pressed states. For a palette, the analogous pair #220175 and #750154 stays calm, while #1A7501 is the loudest partner.

What is #5c0175 in CMYK for printing?

cmyk(21%, 99%, 0%, 54%). 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 #5c0175 warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #750163; nudged cooler, #310076.

Work with #5c0175 in the Color Lab