Skip to content

#6f397b

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

RGB
111, 57, 123
HSL
289°, 37%, 35%
CMYK
10, 54, 0, 52
Luminance
0.0774

At a glance

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

Hex
#6f397b
Hue
289°
violet
Saturation
37%
soft
Lightness
35%
dark
Brightness
48%
HSV value
Perceived
34%
weighted brightness
Luminance
0.0774
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Soft
Best ink
White
8.24:1
Closest name
Rebecca Purple
ΔE2000 7.7
Where it sits
Hue289° of 360°
Saturation37%
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#6f397b
RGBrgb(111, 57, 123)
HSLhsl(289, 37%, 35%)
CMYKcmyk(10%, 54%, 0%, 52%)
LABlab(33.4 34.9 -27.7)
LCHlch(33.4 44.6 321.5)
OKLCHoklch(0.441 0.120 320.1)
Decimal7289211
Display P3color(display-p3 0.435 0.224 0.482)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#6f397b on white: 8.24:1
AA ✓ pass · AA-large · AAA
Aa
#6f397b on black: 2.55:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2D4B7D
deuteranopia · #3E5179
tritanopia · #704254

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #6f397b 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
#F2EBF4
#E5D3E9
#D4B2DB
#BF8CCA
#A966B8
#974DA7
#7E418B
#6f397b
#4A2952
#2E1933
Base = 800Lightest = 50 · #F9F5FADarkest = 950 · #2E1933
:root {
  --brand-50: #F9F5FA;
  --brand-100: #F2EBF4;
  --brand-200: #E5D3E9;
  --brand-300: #D4B2DB;
  --brand-400: #BF8CCA;
  --brand-500: #A966B8;
  --brand-600: #974DA7;
  --brand-700: #7E418B;
  --brand-800: #6f397b;
  --brand-900: #4A2952;
  --brand-950: #2E1933;
  --brand: #6f397b;
  --brand-ink: #ffffff;
}

Colors that work with #6f397b

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#F9F5FA
Tinted page background
Border#E0C7E5
Hairlines and dividers
Muted text#8C4B9B
Captions on the surface
Accent#557F35
Second voice, not a rival
Dark variant#4F2857
Hover, pressed, headers
Light variant#F5EEF7
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 #6f397b

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#457B39
Analogous left#4E397B
Analogous right#7B3966
Split-complement 1#667B39
Split-complement 2#397B4E
Triadic 1#7B6F39
Triadic 2#397B6F
Tetradic#7B4E39

RGB percentages

Red43.5%
Green22.4%
Blue48.2%

CMYK percentages

Cyan9.8%
Magenta53.7%
Yellow0.0%
Key (black)51.8%

Color previews

#6f397b text on a black background

contrast 2.55:1

Card sample

#6f397b text on a white background

contrast 8.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #6f397b

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.

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

#6f397b, answered

What color is #6f397b?

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

What is the RGB value of #6f397b?

rgb(111, 57, 123) — 111 red, 57 green and 123 blue out of 255, or 43.5% / 22.4% / 48.2% by channel.

Is #6f397b a light or a dark color?

It is a dark color. Relative luminance is 0.0774 and perceived brightness is 34%, so white text on it reaches 8.24:1.

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

White. It scores 8.24:1 against #6f397b, versus 2.55:1 for black — AAA at any size.

What is the complementary color of #6f397b?

#457B39 sits directly opposite on the wheel. Softer options are the split-complements #667B39 and #397B4E, which give the same contrast with far less vibration.

What colors go well with #6f397b?

For interface work: #F9F5FA as the surface, #E0C7E5 for borders, #8C4B9B for secondary text, #557F35 as an accent and #4F2857 for hover and pressed states. For a palette, the analogous pair #4E397B and #7B3966 stays calm, while #457B39 is the loudest partner.

What is #6f397b in CMYK for printing?

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

Is #6f397b 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 #7B396F; nudged cooler, #57377D.

Work with #6f397b in the Color Lab