Skip to content

#6f024f

a deep, electric magenta / pink · warm · closest name: Purple

RGB
111, 2, 79
HSL
318°, 97%, 22%
CMYK
0, 98, 29, 57
Luminance
0.0399

At a glance

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

Hex
#6f024f
Hue
318°
magenta / pink
Saturation
97%
electric
Lightness
22%
deep
Brightness
44%
HSV value
Perceived
26%
weighted brightness
Luminance
0.0399
WCAG relative
Temperature
Warm
40/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
11.68:1
Closest name
Purple
ΔE2000 9.8
Where it sits
Hue318° of 360°
Saturation97%
Lightness22%
Temperature
Warm ← → Cool40% cool

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

Every format

HEX#6f024f
RGBrgb(111, 2, 79)
HSLhsl(318, 97%, 22%)
CMYKcmyk(0%, 98%, 29%, 57%)
LABlab(23.6 48.2 -14.5)
LCHlch(23.6 50.3 343.2)
OKLCHoklch(0.362 0.152 345.2)
Decimal7275087
Display P3color(display-p3 0.435 0.008 0.310)

Copy-ready code

/* CSS */
color: #6f024f;
background-color: #6f024f;
/* Tailwind (arbitrary) */
class="text-[#6f024f] bg-[#6f024f]"
/* SCSS */
$brand: #6f024f;
/* SwiftUI */
Color(red: 0.435, green: 0.008, blue: 0.310)
/* Android */
Color.parseColor("#6f024f")
/* Flutter */
Color(0xFF6F024F)
/* Python / OpenCV (BGR) */
(79, 2, 111)

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

Accessibility — WCAG contrast

Aa
#6f024f on white: 11.68:1
AA ✓ pass · AA-large · AAA
Aa
#6f024f on black: 1.80:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #172D51
deuteranopia · #393E4D
tritanopia · #77002C

Color scale — 50 to 950

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

#FDF1FA
#FCE4F5
#FBC1EA
#FD91DD
#FC5ACC
#FB23BC
#F104AB
#C8048F
#A00372
#6f024f
#480434
Base = 900Lightest = 50 · #FDF1FADarkest = 950 · #480434
:root {
  --brand-50: #FDF1FA;
  --brand-100: #FCE4F5;
  --brand-200: #FBC1EA;
  --brand-300: #FD91DD;
  --brand-400: #FC5ACC;
  --brand-500: #FB23BC;
  --brand-600: #F104AB;
  --brand-700: #C8048F;
  --brand-800: #A00372;
  --brand-900: #6f024f;
  --brand-950: #480434;
  --brand: #6f024f;
  --brand-ink: #ffffff;
}

Colors that work with #6f024f

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#FAF4F9
Tinted page background
Border#EDC0DF
Hairlines and dividers
Muted text#9B4B83
Captions on the surface
Accent#007105
Second voice, not a rival
Dark variant#7D0259
Hover, pressed, headers
Light variant#FFE6F7
Selected rows, tints
Dark surface#241420
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 #6f024f

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#026F22
Analogous left#59026F
Analogous right#6F0219
Split-complement 1#196F02
Split-complement 2#026F59
Triadic 1#4F6F02
Triadic 2#024F6F
Tetradic#6F5902

RGB percentages

Red43.5%
Green0.8%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta98.2%
Yellow28.8%
Key (black)56.5%

Color previews

#6f024f text on a black background

contrast 1.80:1

Card sample

#6f024f text on a white background

contrast 11.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #6f024f;
Background color
Panel with #6f024f background
background-color: #6f024f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #6f024f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(111, 2, 79, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(111, 2, 79, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6f024f;
background: linear-gradient(135deg, #6f024f, #6F0206);

Monochromatic scale

Palettes built from #6f024f

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.

#6f024f 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#6f024f, answered

What color is #6f024f?

#6f024f is a deep electric magenta / pink, closest to Purple (ΔE2000 9.8). It sits at 318° on the hue wheel with 97% saturation and 22% lightness, which reads as warm.

What is the RGB value of #6f024f?

rgb(111, 2, 79) — 111 red, 2 green and 79 blue out of 255, or 43.5% / 0.8% / 31% by channel.

Is #6f024f a light or a dark color?

It is a dark color. Relative luminance is 0.0399 and perceived brightness is 26%, so white text on it reaches 11.68:1.

Should I use black or white text on #6f024f?

White. It scores 11.68:1 against #6f024f, versus 1.80:1 for black — AAA at any size.

What is the complementary color of #6f024f?

#026F22 sits directly opposite on the wheel. Softer options are the split-complements #196F02 and #026F59, which give the same contrast with far less vibration.

What colors go well with #6f024f?

For interface work: #FAF4F9 as the surface, #EDC0DF for borders, #9B4B83 for secondary text, #007105 as an accent and #7D0259 for hover and pressed states. For a palette, the analogous pair #59026F and #6F0219 stays calm, while #026F22 is the loudest partner.

What is #6f024f in CMYK for printing?

cmyk(0%, 98%, 29%, 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 #6f024f warm or cool?

Warm — it scores 40 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6F0227; nudged cooler, #680170.

Work with #6f024f in the Color Lab