Skip to content

#641da2

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

RGB
100, 29, 162
HSL
272°, 70%, 38%
CMYK
38, 82, 0, 37
Luminance
0.0620

At a glance

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

Hex
#641da2
Hue
272°
violet
Saturation
70%
vivid
Lightness
38%
dark
Brightness
64%
HSV value
Perceived
32%
weighted brightness
Luminance
0.0620
WCAG relative
Temperature
Cool
66/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
9.38:1
Closest name
Rebecca Purple
ΔE2000 4.4
Where it sits
Hue272° of 360°
Saturation70%
Lightness38%
Temperature
Warm ← → Cool66% 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#641da2
RGBrgb(100, 29, 162)
HSLhsl(272, 70%, 38%)
CMYKcmyk(38%, 82%, 0%, 37%)
LABlab(29.9 54.5 -57.5)
LCHlch(29.9 79.2 313.4)
OKLCHoklch(0.421 0.195 302.5)
Decimal6561186
Display P3color(display-p3 0.392 0.114 0.635)

Copy-ready code

/* CSS */
color: #641da2;
background-color: #641da2;
/* Tailwind (arbitrary) */
class="text-[#641da2] bg-[#641da2]"
/* SCSS */
$brand: #641da2;
/* SwiftUI */
Color(red: 0.392, green: 0.114, blue: 0.635)
/* Android */
Color.parseColor("#641da2")
/* Flutter */
Color(0xFF641DA2)
/* Python / OpenCV (BGR) */
(162, 29, 100)

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

Accessibility — WCAG contrast

Aa
#641da2 on white: 9.38:1
AA ✓ pass · AA-large · AAA
Aa
#641da2 on black: 2.24:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0045A6
deuteranopia · #00469F
tritanopia · #574261

Color scale — 50 to 950

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

#F8F3FC
#F0E7F8
#DFCAF2
#CAA0EE
#AF70E5
#9441DD
#8025D0
#641da2
#55198A
#401664
#280E3F
Base = 700Lightest = 50 · #F8F3FCDarkest = 950 · #280E3F
:root {
  --brand-50: #F8F3FC;
  --brand-100: #F0E7F8;
  --brand-200: #DFCAF2;
  --brand-300: #CAA0EE;
  --brand-400: #AF70E5;
  --brand-500: #9441DD;
  --brand-600: #8025D0;
  --brand-700: #641da2;
  --brand-800: #55198A;
  --brand-900: #401664;
  --brand-950: #280E3F;
  --brand: #641da2;
  --brand-ink: #ffffff;
}

Colors that work with #641da2

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#F8F4FA
Tinted page background
Border#D8C0ED
Hairlines and dividers
Muted text#754B9B
Captions on the surface
Accent#87B11B
Second voice, not a rival
Dark variant#43136C
Hover, pressed, headers
Light variant#F3E9FB
Selected rows, tints
Dark surface#1D1424
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 #641da2

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#5BA21D
Analogous left#221DA2
Analogous right#A21D9E
Split-complement 1#9EA21D
Split-complement 2#1DA222
Triadic 1#A2641D
Triadic 2#1DA264
Tetradic#A2221D

RGB percentages

Red39.2%
Green11.4%
Blue63.5%

CMYK percentages

Cyan38.3%
Magenta82.1%
Yellow0.0%
Key (black)36.5%

Color previews

#641da2 text on a black background

contrast 2.24:1

Card sample

#641da2 text on a white background

contrast 9.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #641da2;
Background color
Panel with #641da2 background
background-color: #641da2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #641da2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(100, 29, 162, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(100, 29, 162, 0.45);
Border & gradient
Gradient panel
border: 3px solid #641da2;
background: linear-gradient(135deg, #641da2, #A21D88);

Monochromatic scale

Palettes built from #641da2

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.

#641da2 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.

#641da2, answered

What color is #641da2?

#641da2 is a dark vivid violet, closest to Rebecca Purple (ΔE2000 4.4). It sits at 272° on the hue wheel with 70% saturation and 38% lightness, which reads as cool.

What is the RGB value of #641da2?

rgb(100, 29, 162) — 100 red, 29 green and 162 blue out of 255, or 39.2% / 11.4% / 63.5% by channel.

Is #641da2 a light or a dark color?

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

Should I use black or white text on #641da2?

White. It scores 9.38:1 against #641da2, versus 2.24:1 for black — AAA at any size.

What is the complementary color of #641da2?

#5BA21D sits directly opposite on the wheel. Softer options are the split-complements #9EA21D and #1DA222, which give the same contrast with far less vibration.

What colors go well with #641da2?

For interface work: #F8F4FA as the surface, #D8C0ED for borders, #754B9B for secondary text, #87B11B as an accent and #43136C for hover and pressed states. For a palette, the analogous pair #221DA2 and #A21D9E stays calm, while #5BA21D is the loudest partner.

What is #641da2 in CMYK for printing?

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

Is #641da2 warm or cool?

Cool — it scores 66 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #951DA2; nudged cooler, #321BA4.

Work with #641da2 in the Color Lab