Skip to content

#6b024f

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

RGB
107, 2, 79
HSL
316°, 96%, 21%
CMYK
0, 98, 26, 58
Luminance
0.0373

At a glance

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

Hex
#6b024f
Hue
316°
magenta / pink
Saturation
96%
electric
Lightness
21%
deep
Brightness
42%
HSV value
Perceived
25%
weighted brightness
Luminance
0.0373
WCAG relative
Temperature
Warm
41/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
12.02:1
Closest name
Purple
ΔE2000 9.6
Where it sits
Hue316° of 360°
Saturation96%
Lightness21%
Temperature
Warm ← → Cool41% 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#6b024f
RGBrgb(107, 2, 79)
HSLhsl(316, 96%, 21%)
CMYKcmyk(0%, 98%, 26%, 58%)
LABlab(22.8 47.3 -15.9)
LCHlch(22.8 49.9 341.4)
OKLCHoklch(0.354 0.150 343.4)
Decimal7012943
Display P3color(display-p3 0.420 0.008 0.310)

Copy-ready code

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

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

Accessibility — WCAG contrast

Aa
#6b024f on white: 12.02:1
AA ✓ pass · AA-large · AAA
Aa
#6b024f on black: 1.75:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #142C51
deuteranopia · #363C4D
tritanopia · #73022C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #6b024f 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
#FAC1EB
#FD91E0
#FC5AD1
#FB23C1
#F005B1
#C80494
#A00376
#6b024f
#480436
Base = 900Lightest = 50 · #FDF1FADarkest = 950 · #480436
:root {
  --brand-50: #FDF1FA;
  --brand-100: #FCE4F5;
  --brand-200: #FAC1EB;
  --brand-300: #FD91E0;
  --brand-400: #FC5AD1;
  --brand-500: #FB23C1;
  --brand-600: #F005B1;
  --brand-700: #C80494;
  --brand-800: #A00376;
  --brand-900: #6b024f;
  --brand-950: #480436;
  --brand: #6b024f;
  --brand-ink: #ffffff;
}

Colors that work with #6b024f

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#EDC0E1
Hairlines and dividers
Muted text#9B4B85
Captions on the surface
Accent#006D02
Second voice, not a rival
Dark variant#7D025C
Hover, pressed, headers
Light variant#FFE6F8
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 #6b024f

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#026B1E
Analogous left#53026B
Analogous right#6B021B
Split-complement 1#1B6B02
Split-complement 2#026B53
Triadic 1#4F6B02
Triadic 2#024F6B
Tetradic#6B5302

RGB percentages

Red42.0%
Green0.8%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta98.1%
Yellow26.2%
Key (black)58.0%

Color previews

#6b024f text on a black background

contrast 1.75:1

Card sample

#6b024f text on a white background

contrast 12.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #6b024f

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.

#6b024f 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.

#6b024f, answered

What color is #6b024f?

#6b024f is a deep electric magenta / pink, closest to Purple (ΔE2000 9.6). It sits at 316° on the hue wheel with 96% saturation and 21% lightness, which reads as warm.

What is the RGB value of #6b024f?

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

Is #6b024f a light or a dark color?

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

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

White. It scores 12.02:1 against #6b024f, versus 1.75:1 for black — AAA at any size.

What is the complementary color of #6b024f?

#026B1E sits directly opposite on the wheel. Softer options are the split-complements #1B6B02 and #026B53, which give the same contrast with far less vibration.

What colors go well with #6b024f?

For interface work: #FAF4F9 as the surface, #EDC0E1 for borders, #9B4B85 for secondary text, #006D02 as an accent and #7D025C for hover and pressed states. For a palette, the analogous pair #53026B and #6B021B stays calm, while #026B1E is the loudest partner.

What is #6b024f in CMYK for printing?

cmyk(0%, 98%, 26%, 58%). 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 #6b024f warm or cool?

Warm — it scores 41 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6B0229; nudged cooler, #61016C.

Work with #6b024f in the Color Lab