Skip to content

#32016d

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

RGB
50, 1, 109
HSL
267°, 98%, 22%
CMYK
54, 99, 0, 57
Luminance
0.0180

At a glance

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

Hex
#32016d
Hue
267°
violet
Saturation
98%
electric
Lightness
22%
deep
Brightness
43%
HSV value
Perceived
18%
weighted brightness
Luminance
0.0180
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Electric
Best ink
White
15.43:1
Closest name
Indigo
ΔE2000 4.8
Where it sits
Hue267° of 360°
Saturation98%
Lightness22%
Temperature
Warm ← → Cool68% 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#32016d
RGBrgb(50, 1, 109)
HSLhsl(267, 98%, 22%)
CMYKcmyk(54%, 99%, 0%, 57%)
LABlab(14.4 44.0 -49.9)
LCHlch(14.4 66.5 311.4)
OKLCHoklch(0.283 0.156 293.2)
Decimal3277165
Display P3color(display-p3 0.196 0.004 0.427)

Copy-ready code

/* CSS */
color: #32016d;
background-color: #32016d;
/* Tailwind (arbitrary) */
class="text-[#32016d] bg-[#32016d]"
/* SCSS */
$brand: #32016d;
/* SwiftUI */
Color(red: 0.196, green: 0.004, blue: 0.427)
/* Android */
Color.parseColor("#32016d")
/* Flutter */
Color(0xFF32016D)
/* Python / OpenCV (BGR) */
(109, 1, 50)

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

Accessibility — WCAG contrast

Aa
#32016d on white: 15.43:1
AA ✓ pass · AA-large · AAA
Aa
#32016d on black: 1.36:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #002670
deuteranopia · #00226B
tritanopia · #1E273D

Color scale — 50 to 950

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

#F7F1FD
#EFE3FC
#DBC1FB
#C290FE
#A358FD
#8521FD
#6F02F3
#5D02CA
#4A01A2
#32016d
#230449
Base = 900Lightest = 50 · #F7F1FDDarkest = 950 · #230449
:root {
  --brand-50: #F7F1FD;
  --brand-100: #EFE3FC;
  --brand-200: #DBC1FB;
  --brand-300: #C290FE;
  --brand-400: #A358FD;
  --brand-500: #8521FD;
  --brand-600: #6F02F3;
  --brand-700: #5D02CA;
  --brand-800: #4A01A2;
  --brand-900: #32016d;
  --brand-950: #230449;
  --brand: #32016d;
  --brand-ink: #ffffff;
}

Colors that work with #32016d

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#D4C0ED
Hairlines and dividers
Muted text#6F4B9B
Captions on the surface
Accent#586E00
Second voice, not a rival
Dark variant#3A017E
Hover, pressed, headers
Light variant#F1E6FF
Selected rows, tints
Dark surface#1B1424
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 #32016d

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#3C6D01
Analogous left#01066D
Analogous right#68016D
Split-complement 1#6D6801
Split-complement 2#066D01
Triadic 1#6D3201
Triadic 2#016D32
Tetradic#6D0106

RGB percentages

Red19.6%
Green0.4%
Blue42.7%

CMYK percentages

Cyan54.1%
Magenta99.1%
Yellow0.0%
Key (black)57.3%

Color previews

#32016d text on a black background

contrast 1.36:1

Card sample

#32016d text on a white background

contrast 15.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #32016d;
Background color
Panel with #32016d background
background-color: #32016d;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #32016d;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(50, 1, 109, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(50, 1, 109, 0.45);
Border & gradient
Gradient panel
border: 3px solid #32016d;
background: linear-gradient(135deg, #32016d, #6D0160);

Monochromatic scale

Palettes built from #32016d

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.

#32016d 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.

#32016d, answered

What color is #32016d?

#32016d is a deep electric violet, closest to Indigo (ΔE2000 4.8). It sits at 267° on the hue wheel with 98% saturation and 22% lightness, which reads as cool.

What is the RGB value of #32016d?

rgb(50, 1, 109) — 50 red, 1 green and 109 blue out of 255, or 19.6% / 0.4% / 42.7% by channel.

Is #32016d a light or a dark color?

It is a dark color. Relative luminance is 0.0180 and perceived brightness is 18%, so white text on it reaches 15.43:1.

Should I use black or white text on #32016d?

White. It scores 15.43:1 against #32016d, versus 1.36:1 for black — AAA at any size.

What is the complementary color of #32016d?

#3C6D01 sits directly opposite on the wheel. Softer options are the split-complements #6D6801 and #066D01, which give the same contrast with far less vibration.

What colors go well with #32016d?

For interface work: #F7F4FA as the surface, #D4C0ED for borders, #6F4B9B for secondary text, #586E00 as an accent and #3A017E for hover and pressed states. For a palette, the analogous pair #01066D and #68016D stays calm, while #3C6D01 is the loudest partner.

What is #32016d in CMYK for printing?

cmyk(54%, 99%, 0%, 57%). 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 #32016d warm or cool?

Cool — it scores 68 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5A016D; nudged cooler, #0A006E.

Work with #32016d in the Color Lab