Skip to content

#6b4792

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

RGB
107, 71, 146
HSL
269°, 35%, 43%
CMYK
27, 51, 0, 43
Luminance
0.0971

At a glance

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

Hex
#6b4792
Hue
269°
violet
Saturation
35%
soft
Lightness
43%
dark
Brightness
57%
HSV value
Perceived
37%
weighted brightness
Luminance
0.0971
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Soft
Best ink
White
7.14:1
Closest name
Rebecca Purple
ΔE2000 5.9
Where it sits
Hue269° of 360°
Saturation35%
Lightness43%
Temperature
Warm ← → Cool67% cool

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

Every format

HEX#6b4792
RGBrgb(107, 71, 146)
HSLhsl(269, 35%, 43%)
CMYKcmyk(27%, 51%, 0%, 43%)
LABlab(37.3 31.1 -35.8)
LCHlch(37.3 47.4 311.0)
OKLCHoklch(0.472 0.122 304.3)
Decimal7030674
Display P3color(display-p3 0.420 0.278 0.573)

Copy-ready code

/* CSS */
color: #6b4792;
background-color: #6b4792;
/* Tailwind (arbitrary) */
class="text-[#6b4792] bg-[#6b4792]"
/* SCSS */
$brand: #6b4792;
/* SwiftUI */
Color(red: 0.420, green: 0.278, blue: 0.573)
/* Android */
Color.parseColor("#6b4792")
/* Flutter */
Color(0xFF6B4792)
/* Python / OpenCV (BGR) */
(146, 71, 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 #6b4792 · 7.14:1
Use #ffffffAAA at every size.
Aa
White text · 7.14:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.94:1
AA fail · AA large fail · AAA fail
Reading the other direction: #6b4792 as text scores 7.14:1 on white and 2.94:1 on black.

Accessibility — WCAG contrast

Aa
#6b4792 on white: 7.14:1
AA ✓ pass · AA-large · AAA
Aa
#6b4792 on black: 2.94:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #305795
deuteranopia · #3A5890
tritanopia · #645466

Color scale — 50 to 950

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

#F7F5F9
#F0ECF4
#DDD4E8
#C6B3DA
#AA8EC8
#8D68B6
#7950A5
#6b4792
#50356E
#3C2A51
#261A32
Base = 700Lightest = 50 · #F7F5F9Darkest = 950 · #261A32
:root {
  --brand-50: #F7F5F9;
  --brand-100: #F0ECF4;
  --brand-200: #DDD4E8;
  --brand-300: #C6B3DA;
  --brand-400: #AA8EC8;
  --brand-500: #8D68B6;
  --brand-600: #7950A5;
  --brand-700: #6b4792;
  --brand-800: #50356E;
  --brand-900: #3C2A51;
  --brand-950: #261A32;
  --brand: #6b4792;
  --brand-ink: #ffffff;
}

Colors that work with #6b4792

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#F7F5FA
Tinted page background
Border#D6C8E4
Hairlines and dividers
Muted text#714B9A
Captions on the surface
Accent#839643
Second voice, not a rival
Dark variant#3F2A56
Hover, pressed, headers
Light variant#F2EEF7
Selected rows, tints
Dark surface#1C1424
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 #6b4792

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#6E9247
Analogous left#474892
Analogous right#904792
Split-complement 1#929047
Split-complement 2#489247
Triadic 1#926B47
Triadic 2#47926B
Tetradic#924748

RGB percentages

Red42.0%
Green27.8%
Blue57.3%

CMYK percentages

Cyan26.7%
Magenta51.4%
Yellow0.0%
Key (black)42.7%

Color previews

#6b4792 text on a black background

contrast 2.94:1

Card sample

#6b4792 text on a white background

contrast 7.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #6b4792

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.

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

#6b4792, answered

What color is #6b4792?

#6b4792 is a dark soft violet, closest to Rebecca Purple (ΔE2000 5.9). It sits at 269° on the hue wheel with 35% saturation and 43% lightness, which reads as cool.

What is the RGB value of #6b4792?

rgb(107, 71, 146) — 107 red, 71 green and 146 blue out of 255, or 42% / 27.8% / 57.3% by channel.

Is #6b4792 a light or a dark color?

It is a dark color. Relative luminance is 0.0971 and perceived brightness is 37%, so white text on it reaches 7.14:1.

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

White. It scores 7.14:1 against #6b4792, versus 2.94:1 for black — AAA at any size.

What is the complementary color of #6b4792?

#6E9247 sits directly opposite on the wheel. Softer options are the split-complements #929047 and #489247, which give the same contrast with far less vibration.

What colors go well with #6b4792?

For interface work: #F7F5FA as the surface, #D6C8E4 for borders, #714B9A for secondary text, #839643 as an accent and #3F2A56 for hover and pressed states. For a palette, the analogous pair #474892 and #904792 stays calm, while #6E9247 is the loudest partner.

What is #6b4792 in CMYK for printing?

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

Is #6b4792 warm or cool?

Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #864792; nudged cooler, #4E4594.

Work with #6b4792 in the Color Lab