Skip to content

#6d2c82

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

RGB
109, 44, 130
HSL
285°, 49%, 34%
CMYK
16, 66, 0, 49
Luminance
0.0666

At a glance

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

Hex
#6d2c82
Hue
285°
violet
Saturation
49%
vivid
Lightness
34%
dark
Brightness
51%
HSV value
Perceived
32%
weighted brightness
Luminance
0.0666
WCAG relative
Temperature
Cool
58/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
9.00:1
Closest name
Rebecca Purple
ΔE2000 5.3
Where it sits
Hue285° of 360°
Saturation49%
Lightness34%
Temperature
Warm ← → Cool58% 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#6d2c82
RGBrgb(109, 44, 130)
HSLhsl(285, 49%, 34%)
CMYKcmyk(16%, 66%, 0%, 49%)
LABlab(31.0 42.7 -35.9)
LCHlch(31.0 55.8 319.9)
OKLCHoklch(0.424 0.147 316.9)
Decimal7154818
Display P3color(display-p3 0.427 0.173 0.510)

Copy-ready code

/* CSS */
color: #6d2c82;
background-color: #6d2c82;
/* Tailwind (arbitrary) */
class="text-[#6d2c82] bg-[#6d2c82]"
/* SCSS */
$brand: #6d2c82;
/* SwiftUI */
Color(red: 0.427, green: 0.173, blue: 0.510)
/* Android */
Color.parseColor("#6d2c82")
/* Flutter */
Color(0xFF6D2C82)
/* Python / OpenCV (BGR) */
(130, 44, 109)

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

Accessibility — WCAG contrast

Aa
#6d2c82 on white: 9.00:1
AA ✓ pass · AA-large · AAA
Aa
#6d2c82 on black: 2.33:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0D4585
deuteranopia · #2E4B80
tritanopia · #6C3B53

Color scale — 50 to 950

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

#F9F4FA
#F3EAF6
#E5CFEC
#D5ABE3
#C081D4
#AB57C6
#993EB7
#803498
#6d2c82
#4B2159
#2F1538
Base = 800Lightest = 50 · #F9F4FADarkest = 950 · #2F1538
:root {
  --brand-50: #F9F4FA;
  --brand-100: #F3EAF6;
  --brand-200: #E5CFEC;
  --brand-300: #D5ABE3;
  --brand-400: #C081D4;
  --brand-500: #AB57C6;
  --brand-600: #993EB7;
  --brand-700: #803498;
  --brand-800: #6d2c82;
  --brand-900: #4B2159;
  --brand-950: #2F1538;
  --brand: #6d2c82;
  --brand-ink: #ffffff;
}

Colors that work with #6d2c82

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#E0C2EA
Hairlines and dividers
Muted text#874B9B
Captions on the surface
Accent#568529
Second voice, not a rival
Dark variant#50205F
Hover, pressed, headers
Light variant#F5ECF9
Selected rows, tints
Dark surface#201424
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 #6d2c82

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#41822C
Analogous left#422C82
Analogous right#822C6C
Split-complement 1#6C822C
Split-complement 2#2C8242
Triadic 1#826D2C
Triadic 2#2C826D
Tetradic#82422C

RGB percentages

Red42.7%
Green17.3%
Blue51.0%

CMYK percentages

Cyan16.2%
Magenta66.2%
Yellow0.0%
Key (black)49.0%

Color previews

#6d2c82 text on a black background

contrast 2.33:1

Card sample

#6d2c82 text on a white background

contrast 9.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(109, 44, 130, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(109, 44, 130, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6d2c82;
background: linear-gradient(135deg, #6d2c82, #822C5E);

Monochromatic scale

Palettes built from #6d2c82

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.

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

#6d2c82, answered

What color is #6d2c82?

#6d2c82 is a dark vivid violet, closest to Rebecca Purple (ΔE2000 5.3). It sits at 285° on the hue wheel with 49% saturation and 34% lightness, which reads as cool.

What is the RGB value of #6d2c82?

rgb(109, 44, 130) — 109 red, 44 green and 130 blue out of 255, or 42.7% / 17.3% / 51% by channel.

Is #6d2c82 a light or a dark color?

It is a dark color. Relative luminance is 0.0666 and perceived brightness is 32%, so white text on it reaches 9.00:1.

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

White. It scores 9.00:1 against #6d2c82, versus 2.33:1 for black — AAA at any size.

What is the complementary color of #6d2c82?

#41822C sits directly opposite on the wheel. Softer options are the split-complements #6C822C and #2C8242, which give the same contrast with far less vibration.

What colors go well with #6d2c82?

For interface work: #F9F4FA as the surface, #E0C2EA for borders, #874B9B for secondary text, #568529 as an accent and #50205F for hover and pressed states. For a palette, the analogous pair #422C82 and #822C6C stays calm, while #41822C is the loudest partner.

What is #6d2c82 in CMYK for printing?

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

Is #6d2c82 warm or cool?

Cool — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #822C77; nudged cooler, #4D2A84.

Work with #6d2c82 in the Color Lab