Skip to content

#6f214e

a dark, vivid magenta / pink · warm · closest name: purple

RGB
111, 33, 78
HSL
325°, 54%, 28%
CMYK
0, 70, 30, 57
Luminance
0.0502

Every format

HEX#6f214e
RGBrgb(111, 33, 78)
HSLhsl(325, 54%, 28%)
CMYKcmyk(0%, 70%, 30%, 57%)
LABlab(26.8 39.0 -9.0)
LCHlch(26.8 40.0 346.9)
OKLCHoklch(0.385 0.121 348.7)

Copy-ready code

/* CSS */
color: #6f214e;
background-color: #6f214e;
/* Tailwind (arbitrary) */
class="text-[#6f214e] bg-[#6f214e]"
/* SCSS */
$brand: #6f214e;
/* SwiftUI */
Color(red: 0.435, green: 0.129, blue: 0.306)
/* Android */
Color.parseColor("#6f214e")

Accessibility — WCAG contrast

Aa
#6f214e on white: 10.48:1
AA ✓ pass · AA-large · AAA
Aa
#6f214e on black: 2.00:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red43.5%
Green12.9%
Blue30.6%

CMYK percentages

Cyan0.0%
Magenta70.3%
Yellow29.7%
Key (black)56.5%

Color previews

#6f214e text on a black background

contrast 2.00:1

Card sample

#6f214e text on a white background

contrast 10.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #6f214e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #6f214e in the Color Lab