Skip to content

#861eb2

a dark, vivid violet · cool · closest name: Dark Violet

RGB
134, 30, 178
HSL
282°, 71%, 41%
CMYK
25, 83, 0, 30
Luminance
0.0921

At a glance

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

Hex
#861eb2
Hue
282°
violet
Saturation
71%
vivid
Lightness
41%
dark
Brightness
70%
HSV value
Perceived
38%
weighted brightness
Luminance
0.0921
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
7.39:1
Closest name
Dark Violet
ΔE2000 4.7
Where it sits
Hue282° of 360°
Saturation71%
Lightness41%
Temperature
Warm ← → Cool60% 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#861eb2
RGBrgb(134, 30, 178)
HSLhsl(282, 71%, 41%)
CMYKcmyk(25%, 83%, 0%, 30%)
LABlab(36.4 63.1 -56.3)
LCHlch(36.4 84.5 318.2)
OKLCHoklch(0.480 0.217 312.7)
Decimal8789682
Display P3color(display-p3 0.525 0.118 0.698)

Copy-ready code

/* CSS */
color: #861eb2;
background-color: #861eb2;
/* Tailwind (arbitrary) */
class="text-[#861eb2] bg-[#861eb2]"
/* SCSS */
$brand: #861eb2;
/* SwiftUI */
Color(red: 0.525, green: 0.118, blue: 0.698)
/* Android */
Color.parseColor("#861eb2")
/* Flutter */
Color(0xFF861EB2)
/* Python / OpenCV (BGR) */
(178, 30, 134)

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

Accessibility — WCAG contrast

Aa
#861eb2 on white: 7.39:1
AA ✓ pass · AA-large · AAA
Aa
#861eb2 on black: 2.84:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0051B6
deuteranopia · #0058AF
tritanopia · #81456A

Color scale — 50 to 950

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

#F9F3FC
#F3E7F8
#E6C9F3
#D79FEF
#C36FE7
#AF3FDF
#9E23D2
#861eb2
#69188C
#4E1565
#300D3F
Base = 700Lightest = 50 · #F9F3FCDarkest = 950 · #300D3F
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F3E7F8;
  --brand-200: #E6C9F3;
  --brand-300: #D79FEF;
  --brand-400: #C36FE7;
  --brand-500: #AF3FDF;
  --brand-600: #9E23D2;
  --brand-700: #861eb2;
  --brand-800: #69188C;
  --brand-900: #4E1565;
  --brand-950: #300D3F;
  --brand: #861eb2;
  --brand-ink: #ffffff;
}

Colors that work with #861eb2

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#DFC0ED
Hairlines and dividers
Muted text#834B9B
Captions on the surface
Accent#6DB319
Second voice, not a rival
Dark variant#52126D
Hover, pressed, headers
Light variant#F6E9FB
Selected rows, tints
Dark surface#1F1424
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 #861eb2

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#4AB21E
Analogous left#3C1EB2
Analogous right#B21E94
Split-complement 1#94B21E
Split-complement 2#1EB23C
Triadic 1#B2861E
Triadic 2#1EB286
Tetradic#B23C1E

RGB percentages

Red52.5%
Green11.8%
Blue69.8%

CMYK percentages

Cyan24.7%
Magenta83.1%
Yellow0.0%
Key (black)30.2%

Color previews

#861eb2 text on a black background

contrast 2.84:1

Card sample

#861eb2 text on a white background

contrast 7.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #861eb2;
Background color
Panel with #861eb2 background
background-color: #861eb2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #861eb2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(134, 30, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(134, 30, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #861eb2;
background: linear-gradient(135deg, #861eb2, #B21E7B);

Monochromatic scale

Palettes built from #861eb2

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.

#861eb2 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.

#861eb2, answered

What color is #861eb2?

#861eb2 is a dark vivid violet, closest to Dark Violet (ΔE2000 4.7). It sits at 282° on the hue wheel with 71% saturation and 41% lightness, which reads as cool.

What is the RGB value of #861eb2?

rgb(134, 30, 178) — 134 red, 30 green and 178 blue out of 255, or 52.5% / 11.8% / 69.8% by channel.

Is #861eb2 a light or a dark color?

It is a dark color. Relative luminance is 0.0921 and perceived brightness is 38%, so white text on it reaches 7.39:1.

Should I use black or white text on #861eb2?

White. It scores 7.39:1 against #861eb2, versus 2.84:1 for black — AAA at any size.

What is the complementary color of #861eb2?

#4AB21E sits directly opposite on the wheel. Softer options are the split-complements #94B21E and #1EB23C, which give the same contrast with far less vibration.

What colors go well with #861eb2?

For interface work: #F9F4FA as the surface, #DFC0ED for borders, #834B9B for secondary text, #6DB319 as an accent and #52126D for hover and pressed states. For a palette, the analogous pair #3C1EB2 and #B21E94 stays calm, while #4AB21E is the loudest partner.

What is #861eb2 in CMYK for printing?

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

Is #861eb2 warm or cool?

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

Work with #861eb2 in the Color Lab