Skip to content

#6c0135

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

RGB
108, 1, 53
HSL
331°, 98%, 21%
CMYK
0, 99, 51, 58
Luminance
0.0347

At a glance

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

Hex
#6c0135
Hue
331°
magenta / pink
Saturation
98%
electric
Lightness
21%
deep
Brightness
42%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0347
WCAG relative
Temperature
Warm
33/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
12.40:1
Closest name
Purple
ΔE2000 16.6
Where it sits
Hue331° of 360°
Saturation98%
Lightness21%
Temperature
Warm ← → Cool33% 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#6c0135
RGBrgb(108, 1, 53)
HSLhsl(331, 98%, 21%)
CMYKcmyk(0%, 99%, 51%, 58%)
LABlab(21.8 44.9 0.6)
LCHlch(21.8 44.9 0.7)
OKLCHoklch(0.344 0.138 0.8)
Decimal7078197
Display P3color(display-p3 0.424 0.004 0.208)

Copy-ready code

/* CSS */
color: #6c0135;
background-color: #6c0135;
/* Tailwind (arbitrary) */
class="text-[#6c0135] bg-[#6c0135]"
/* SCSS */
$brand: #6c0135;
/* SwiftUI */
Color(red: 0.424, green: 0.004, blue: 0.208)
/* Android */
Color.parseColor("#6c0135")
/* Flutter */
Color(0xFF6C0135)
/* Python / OpenCV (BGR) */
(53, 1, 108)

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

Accessibility — WCAG contrast

Aa
#6c0135 on white: 12.40:1
AA ✓ pass · AA-large · AAA
Aa
#6c0135 on black: 1.69:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #222836
deuteranopia · #3D3B33
tritanopia · #76001C

Color scale — 50 to 950

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

#FDF1F7
#FCE3EF
#FBC1DD
#FE90C5
#FD58A9
#FD218C
#F30277
#CA0263
#A2014F
#6c0135
#490425
Base = 900Lightest = 50 · #FDF1F7Darkest = 950 · #490425
:root {
  --brand-50: #FDF1F7;
  --brand-100: #FCE3EF;
  --brand-200: #FBC1DD;
  --brand-300: #FE90C5;
  --brand-400: #FD58A9;
  --brand-500: #FD218C;
  --brand-600: #F30277;
  --brand-700: #CA0263;
  --brand-800: #A2014F;
  --brand-900: #6c0135;
  --brand-950: #490425;
  --brand: #6c0135;
  --brand-ink: #ffffff;
}

Colors that work with #6c0135

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#FAF4F7
Tinted page background
Border#EDC0D6
Hairlines and dividers
Muted text#9B4B72
Captions on the surface
Accent#006D1D
Second voice, not a rival
Dark variant#7E013E
Hover, pressed, headers
Light variant#FFE6F2
Selected rows, tints
Dark surface#24141C
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 #6c0135

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#016C38
Analogous left#6C016B
Analogous right#6C0201
Split-complement 1#016C02
Split-complement 2#016B6C
Triadic 1#356C01
Triadic 2#01356C
Tetradic#6B6C01

RGB percentages

Red42.4%
Green0.4%
Blue20.8%

CMYK percentages

Cyan0.0%
Magenta99.1%
Yellow50.9%
Key (black)57.6%

Color previews

#6c0135 text on a black background

contrast 1.69:1

Card sample

#6c0135 text on a white background

contrast 12.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(108, 1, 53, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(108, 1, 53, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6c0135;
background: linear-gradient(135deg, #6c0135, #6C1401);

Monochromatic scale

Palettes built from #6c0135

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.

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

#6c0135, answered

What color is #6c0135?

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

What is the RGB value of #6c0135?

rgb(108, 1, 53) — 108 red, 1 green and 53 blue out of 255, or 42.4% / 0.4% / 20.8% by channel.

Is #6c0135 a light or a dark color?

It is a dark color. Relative luminance is 0.0347 and perceived brightness is 24%, so white text on it reaches 12.40:1.

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

White. It scores 12.40:1 against #6c0135, versus 1.69:1 for black — AAA at any size.

What is the complementary color of #6c0135?

#016C38 sits directly opposite on the wheel. Softer options are the split-complements #016C02 and #016B6C, which give the same contrast with far less vibration.

What colors go well with #6c0135?

For interface work: #FAF4F7 as the surface, #EDC0D6 for borders, #9B4B72 for secondary text, #006D1D as an accent and #7E013E for hover and pressed states. For a palette, the analogous pair #6C016B and #6C0201 stays calm, while #016C38 is the loudest partner.

What is #6c0135 in CMYK for printing?

cmyk(0%, 99%, 51%, 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 #6c0135 warm or cool?

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

Work with #6c0135 in the Color Lab