Skip to content

#6f337d

a dark, soft violet · neutral · closest name: Purple

RGB
111, 51, 125
HSL
289°, 42%, 35%
CMYK
11, 59, 0, 51
Luminance
0.0723

At a glance

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

Hex
#6f337d
Hue
289°
violet
Saturation
42%
soft
Lightness
35%
dark
Brightness
49%
HSV value
Perceived
33%
weighted brightness
Luminance
0.0723
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Soft
Best ink
White
8.59:1
Closest name
Purple
ΔE2000 6.7
Where it sits
Hue289° of 360°
Saturation42%
Lightness35%
Temperature
Warm ← → Cool56% cool

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

Every format

HEX#6f337d
RGBrgb(111, 51, 125)
HSLhsl(289, 42%, 35%)
CMYKcmyk(11%, 59%, 0%, 51%)
LABlab(32.3 38.6 -30.7)
LCHlch(32.3 49.3 321.5)
OKLCHoklch(0.433 0.132 319.7)
Decimal7287677
Display P3color(display-p3 0.435 0.200 0.490)

Copy-ready code

/* CSS */
color: #6f337d;
background-color: #6f337d;
/* Tailwind (arbitrary) */
class="text-[#6f337d] bg-[#6f337d]"
/* SCSS */
$brand: #6f337d;
/* SwiftUI */
Color(red: 0.435, green: 0.200, blue: 0.490)
/* Android */
Color.parseColor("#6f337d")
/* Flutter */
Color(0xFF6F337D)
/* Python / OpenCV (BGR) */
(125, 51, 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 #6f337d · 8.59:1
Use #ffffffAAA at every size.
Aa
White text · 8.59:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.45:1
AA fail · AA large fail · AAA fail
Reading the other direction: #6f337d as text scores 8.59:1 on white and 2.45:1 on black.

Accessibility — WCAG contrast

Aa
#6f337d on white: 8.59:1
AA ✓ pass · AA-large · AAA
Aa
#6f337d on black: 2.45:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #23487F
deuteranopia · #384E7B
tritanopia · #6F3E53

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #6f337d is pinned to step 800; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9F5FA
#F3EBF5
#E5D2EA
#D6AFDE
#C188CE
#AC60BE
#9A47AE
#813B91
#6f337d
#4C2655
#2F1735
Base = 800Lightest = 50 · #F9F5FADarkest = 950 · #2F1735
:root {
  --brand-50: #F9F5FA;
  --brand-100: #F3EBF5;
  --brand-200: #E5D2EA;
  --brand-300: #D6AFDE;
  --brand-400: #C188CE;
  --brand-500: #AC60BE;
  --brand-600: #9A47AE;
  --brand-700: #813B91;
  --brand-800: #6f337d;
  --brand-900: #4C2655;
  --brand-950: #2F1735;
  --brand: #6f337d;
  --brand-ink: #ffffff;
}

Colors that work with #6f337d

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#F9F4FA
Tinted page background
Border#E1C5E7
Hairlines and dividers
Muted text#8C4B9B
Captions on the surface
Accent#538030
Second voice, not a rival
Dark variant#50255B
Hover, pressed, headers
Light variant#F6EDF8
Selected rows, tints
Dark surface#211424
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 #6f337d

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • 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#417D33
Analogous left#4A337D
Analogous right#7D3366
Split-complement 1#667D33
Split-complement 2#337D4A
Triadic 1#7D6F33
Triadic 2#337D6F
Tetradic#7D4A33

RGB percentages

Red43.5%
Green20.0%
Blue49.0%

CMYK percentages

Cyan11.2%
Magenta59.2%
Yellow0.0%
Key (black)51.0%

Color previews

#6f337d text on a black background

contrast 2.45:1

Card sample

#6f337d text on a white background

contrast 8.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(111, 51, 125, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(111, 51, 125, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6f337d;
background: linear-gradient(135deg, #6f337d, #7D335A);

Monochromatic scale

Palettes built from #6f337d

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.

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

Converts to four-color process without much drama. Proof it anyway.

#6f337d, answered

What color is #6f337d?

#6f337d is a dark soft violet, closest to Purple (ΔE2000 6.7). It sits at 289° on the hue wheel with 42% saturation and 35% lightness, which reads as neutral.

What is the RGB value of #6f337d?

rgb(111, 51, 125) — 111 red, 51 green and 125 blue out of 255, or 43.5% / 20% / 49% by channel.

Is #6f337d a light or a dark color?

It is a dark color. Relative luminance is 0.0723 and perceived brightness is 33%, so white text on it reaches 8.59:1.

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

White. It scores 8.59:1 against #6f337d, versus 2.45:1 for black — AAA at any size.

What is the complementary color of #6f337d?

#417D33 sits directly opposite on the wheel. Softer options are the split-complements #667D33 and #337D4A, which give the same contrast with far less vibration.

What colors go well with #6f337d?

For interface work: #F9F4FA as the surface, #E1C5E7 for borders, #8C4B9B for secondary text, #538030 as an accent and #50255B for hover and pressed states. For a palette, the analogous pair #4A337D and #7D3366 stays calm, while #417D33 is the loudest partner.

What is #6f337d in CMYK for printing?

cmyk(11%, 59%, 0%, 51%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #6f337d warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7D3370; nudged cooler, #54317F.

Work with #6f337d in the Color Lab