Skip to content

#641cef

a balanced, electric violet · cool · closest name: Blue

RGB
100, 28, 239
HSL
261°, 87%, 52%
CMYK
58, 88, 0, 6
Luminance
0.0977

At a glance

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

Hex
#641cef
Hue
261°
violet
Saturation
87%
electric
Lightness
52%
balanced
Brightness
94%
HSV value
Perceived
39%
weighted brightness
Luminance
0.0977
WCAG relative
Temperature
Cool
72/100 cool
Color family
Violet
Tone
Electric
Best ink
White
7.11:1
Closest name
Blue
ΔE2000 5.9
Where it sits
Hue261° of 360°
Saturation87%
Lightness52%
Temperature
Warm ← → Cool72% 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#641cef
RGBrgb(100, 28, 239)
HSLhsl(261, 87%, 52%)
CMYKcmyk(58%, 88%, 0%, 6%)
LABlab(37.4 73.2 -90.2)
LCHlch(37.4 116.1 309.1)
OKLCHoklch(0.495 0.271 286.3)
Decimal6561007
Display P3color(display-p3 0.392 0.110 0.937)

Copy-ready code

/* CSS */
color: #641cef;
background-color: #641cef;
/* Tailwind (arbitrary) */
class="text-[#641cef] bg-[#641cef]"
/* SCSS */
$brand: #641cef;
/* SwiftUI */
Color(red: 0.392, green: 0.110, blue: 0.937)
/* Android */
Color.parseColor("#641cef")
/* Flutter */
Color(0xFF641CEF)
/* Python / OpenCV (BGR) */
(239, 28, 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 #641cef · 7.11:1
Use #ffffffAAA at every size.
Aa
White text · 7.11:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.95:1
AA fail · AA large fail · AAA fail
Reading the other direction: #641cef as text scores 7.11:1 on white and 2.95:1 on black.

Accessibility — WCAG contrast

Aa
#641cef on white: 7.11:1
AA ✓ pass · AA-large · AAA
Aa
#641cef on black: 2.95:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005DF4
deuteranopia · #0052EC
tritanopia · #0F648E

Color scale — 50 to 950

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

#F6F2FD
#ECE5FA
#D6C4F7
#B796F8
#9462F4
#641cef
#5910E5
#4A0DBF
#3B0B98
#2E0C6E
#1D0845
Base = 500Lightest = 50 · #F6F2FDDarkest = 950 · #1D0845
:root {
  --brand-50: #F6F2FD;
  --brand-100: #ECE5FA;
  --brand-200: #D6C4F7;
  --brand-300: #B796F8;
  --brand-400: #9462F4;
  --brand-500: #641cef;
  --brand-600: #5910E5;
  --brand-700: #4A0DBF;
  --brand-800: #3B0B98;
  --brand-900: #2E0C6E;
  --brand-950: #1D0845;
  --brand: #641cef;
  --brand-ink: #ffffff;
}

Colors that work with #641cef

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#F6F4FA
Tinted page background
Border#CFC0ED
Hairlines and dividers
Muted text#664B9B
Captions on the surface
Accent#B2C309
Second voice, not a rival
Dark variant#2E0877
Hover, pressed, headers
Light variant#EFE7FD
Selected rows, tints
Dark surface#191424
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 #641cef

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
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • 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#A7EF1C
Analogous left#1C3EEF
Analogous right#CE1CEF
Split-complement 1#EFCE1C
Split-complement 2#3EEF1C
Triadic 1#EF641C
Triadic 2#1CEF64
Tetradic#EF1C3E

RGB percentages

Red39.2%
Green11.0%
Blue93.7%

CMYK percentages

Cyan58.2%
Magenta88.3%
Yellow0.0%
Key (black)6.3%

Color previews

#641cef text on a black background

contrast 2.95:1

Card sample

#641cef text on a white background

contrast 7.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #641cef

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.

#641cef 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#641cef, answered

What color is #641cef?

#641cef is a balanced electric violet, closest to Blue (ΔE2000 5.9). It sits at 261° on the hue wheel with 87% saturation and 52% lightness, which reads as cool.

What is the RGB value of #641cef?

rgb(100, 28, 239) — 100 red, 28 green and 239 blue out of 255, or 39.2% / 11% / 93.7% by channel.

Is #641cef a light or a dark color?

It is a dark color. Relative luminance is 0.0977 and perceived brightness is 39%, so white text on it reaches 7.11:1.

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

White. It scores 7.11:1 against #641cef, versus 2.95:1 for black — AAA at any size.

What is the complementary color of #641cef?

#A7EF1C sits directly opposite on the wheel. Softer options are the split-complements #EFCE1C and #3EEF1C, which give the same contrast with far less vibration.

What colors go well with #641cef?

For interface work: #F6F4FA as the surface, #CFC0ED for borders, #664B9B for secondary text, #B2C309 as an accent and #2E0877 for hover and pressed states. For a palette, the analogous pair #1C3EEF and #CE1CEF stays calm, while #A7EF1C is the loudest partner.

What is #641cef in CMYK for printing?

cmyk(58%, 88%, 0%, 6%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #641cef warm or cool?

Cool — it scores 72 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B21CEF; nudged cooler, #1A1FF1.

Work with #641cef in the Color Lab