Skip to content

#810cd2

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

RGB
129, 12, 210
HSL
276°, 89%, 44%
CMYK
39, 94, 0, 18
Luminance
0.0958

At a glance

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

Hex
#810cd2
Hue
276°
violet
Saturation
89%
electric
Lightness
44%
dark
Brightness
82%
HSV value
Perceived
39%
weighted brightness
Luminance
0.0958
WCAG relative
Temperature
Cool
64/100 cool
Color family
Violet
Tone
Electric
Best ink
White
7.20:1
Closest name
Dark Violet
ΔE2000 3.1
Where it sits
Hue276° of 360°
Saturation89%
Lightness44%
Temperature
Warm ← → Cool64% 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#810cd2
RGBrgb(129, 12, 210)
HSLhsl(276, 89%, 44%)
CMYKcmyk(39%, 94%, 0%, 18%)
LABlab(37.1 72.6 -74.0)
LCHlch(37.1 103.6 314.4)
OKLCHoklch(0.492 0.252 303.1)
Decimal8457426
Display P3color(display-p3 0.506 0.047 0.824)

Copy-ready code

/* CSS */
color: #810cd2;
background-color: #810cd2;
/* Tailwind (arbitrary) */
class="text-[#810cd2] bg-[#810cd2]"
/* SCSS */
$brand: #810cd2;
/* SwiftUI */
Color(red: 0.506, green: 0.047, blue: 0.824)
/* Android */
Color.parseColor("#810cd2")
/* Flutter */
Color(0xFF810CD2)
/* Python / OpenCV (BGR) */
(210, 12, 129)

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

Accessibility — WCAG contrast

Aa
#810cd2 on white: 7.20:1
AA ✓ pass · AA-large · AAA
Aa
#810cd2 on black: 2.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0056D7
deuteranopia · #0057CF
tritanopia · #6F517B

Color scale — 50 to 950

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

#F8F2FD
#F2E5FB
#E3C4F8
#D095F9
#B960F6
#A12BF3
#8E0DE8
#810cd2
#5F099A
#460B6F
#2C0746
Base = 700Lightest = 50 · #F8F2FDDarkest = 950 · #2C0746
:root {
  --brand-50: #F8F2FD;
  --brand-100: #F2E5FB;
  --brand-200: #E3C4F8;
  --brand-300: #D095F9;
  --brand-400: #B960F6;
  --brand-500: #A12BF3;
  --brand-600: #8E0DE8;
  --brand-700: #810cd2;
  --brand-800: #5F099A;
  --brand-900: #460B6F;
  --brand-950: #2C0746;
  --brand: #810cd2;
  --brand-ink: #ffffff;
}

Colors that work with #810cd2

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#DAC0ED
Hairlines and dividers
Muted text#7A4B9B
Captions on the surface
Accent#84C507
Second voice, not a rival
Dark variant#4A0779
Hover, pressed, headers
Light variant#F4E7FE
Selected rows, tints
Dark surface#1E1424
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 #810cd2

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#5DD20C
Analogous left#1E0CD2
Analogous right#D20CC0
Split-complement 1#C0D20C
Split-complement 2#0CD21E
Triadic 1#D2810C
Triadic 2#0CD281
Tetradic#D21E0C

RGB percentages

Red50.6%
Green4.7%
Blue82.4%

CMYK percentages

Cyan38.6%
Magenta94.3%
Yellow0.0%
Key (black)17.6%

Color previews

#810cd2 text on a black background

contrast 2.92:1

Card sample

#810cd2 text on a white background

contrast 7.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #810cd2;
Background color
Panel with #810cd2 background
background-color: #810cd2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #810cd2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(129, 12, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(129, 12, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #810cd2;
background: linear-gradient(135deg, #810cd2, #D20C9F);

Monochromatic scale

Palettes built from #810cd2

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.

#810cd2 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.

#810cd2, answered

What color is #810cd2?

#810cd2 is a dark electric violet, closest to Dark Violet (ΔE2000 3.1). It sits at 276° on the hue wheel with 89% saturation and 44% lightness, which reads as cool.

What is the RGB value of #810cd2?

rgb(129, 12, 210) — 129 red, 12 green and 210 blue out of 255, or 50.6% / 4.7% / 82.4% by channel.

Is #810cd2 a light or a dark color?

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

Should I use black or white text on #810cd2?

White. It scores 7.20:1 against #810cd2, versus 2.92:1 for black — AAA at any size.

What is the complementary color of #810cd2?

#5DD20C sits directly opposite on the wheel. Softer options are the split-complements #C0D20C and #0CD21E, which give the same contrast with far less vibration.

What colors go well with #810cd2?

For interface work: #F8F4FA as the surface, #DAC0ED for borders, #7A4B9B for secondary text, #84C507 as an accent and #4A0779 for hover and pressed states. For a palette, the analogous pair #1E0CD2 and #D20CC0 stays calm, while #5DD20C is the loudest partner.

What is #810cd2 in CMYK for printing?

cmyk(39%, 94%, 0%, 18%). 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 #810cd2 warm or cool?

Cool — it scores 64 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CA0CD2; nudged cooler, #370AD4.

Work with #810cd2 in the Color Lab