Skip to content

#970dcd

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

RGB
151, 13, 205
HSL
283°, 88%, 43%
CMYK
26, 94, 0, 20
Luminance
0.1127

At a glance

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

Hex
#970dcd
Hue
283°
violet
Saturation
88%
electric
Lightness
43%
dark
Brightness
80%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1127
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.45:1
Closest name
Dark Violet
ΔE2000 1.2
Where it sits
Hue283° of 360°
Saturation88%
Lightness43%
Temperature
Warm ← → Cool59% 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#970dcd
RGBrgb(151, 13, 205)
HSLhsl(283, 88%, 43%)
CMYKcmyk(26%, 94%, 0%, 20%)
LABlab(40.0 74.1 -66.1)
LCHlch(40.0 99.3 318.3)
OKLCHoklch(0.517 0.253 312.1)
Decimal9899469
Display P3color(display-p3 0.592 0.051 0.804)

Copy-ready code

/* CSS */
color: #970dcd;
background-color: #970dcd;
/* Tailwind (arbitrary) */
class="text-[#970dcd] bg-[#970dcd]"
/* SCSS */
$brand: #970dcd;
/* SwiftUI */
Color(red: 0.592, green: 0.051, blue: 0.804)
/* Android */
Color.parseColor("#970dcd")
/* Flutter */
Color(0xFF970DCD)
/* Python / OpenCV (BGR) */
(205, 13, 151)

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 #970dcd · 6.45:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.45:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.25:1
AA fail · AA large pass · AAA fail
Reading the other direction: #970dcd as text scores 6.45:1 on white and 3.25:1 on black.

Accessibility — WCAG contrast

Aa
#970dcd on white: 6.45:1
AA ✓ pass · AA-large · AAA
Aa
#970dcd on black: 3.25:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0059D1
deuteranopia · #0061CA
tritanopia · #904B79

Color scale — 50 to 950

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

#FAF2FD
#F4E5FA
#E9C4F8
#DC95F8
#CB61F5
#BA2CF2
#A90FE6
#970dcd
#710A99
#530C6F
#340745
Base = 700Lightest = 50 · #FAF2FDDarkest = 950 · #340745
:root {
  --brand-50: #FAF2FD;
  --brand-100: #F4E5FA;
  --brand-200: #E9C4F8;
  --brand-300: #DC95F8;
  --brand-400: #CB61F5;
  --brand-500: #BA2CF2;
  --brand-600: #A90FE6;
  --brand-700: #970dcd;
  --brand-800: #710A99;
  --brand-900: #530C6F;
  --brand-950: #340745;
  --brand: #970dcd;
  --brand-ink: #ffffff;
}

Colors that work with #970dcd

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#E0C0ED
Hairlines and dividers
Muted text#844B9B
Captions on the surface
Accent#6CC408
Second voice, not a rival
Dark variant#580878
Hover, pressed, headers
Light variant#F7E7FD
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 #970dcd

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
  • 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#43CD0D
Analogous left#370DCD
Analogous right#CD0DA3
Split-complement 1#A3CD0D
Split-complement 2#0DCD37
Triadic 1#CD970D
Triadic 2#0DCD97
Tetradic#CD370D

RGB percentages

Red59.2%
Green5.1%
Blue80.4%

CMYK percentages

Cyan26.3%
Magenta93.7%
Yellow0.0%
Key (black)19.6%

Color previews

#970dcd text on a black background

contrast 3.25:1

Card sample

#970dcd text on a white background

contrast 6.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #970dcd;
Background color
Panel with #970dcd background
background-color: #970dcd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #970dcd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(151, 13, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(151, 13, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #970dcd;
background: linear-gradient(135deg, #970dcd, #CD0D83);

Monochromatic scale

Palettes built from #970dcd

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.

#970dcd 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.

#970dcd, answered

What color is #970dcd?

#970dcd is a dark electric violet, closest to Dark Violet (ΔE2000 1.2). It sits at 283° on the hue wheel with 88% saturation and 43% lightness, which reads as cool.

What is the RGB value of #970dcd?

rgb(151, 13, 205) — 151 red, 13 green and 205 blue out of 255, or 59.2% / 5.1% / 80.4% by channel.

Is #970dcd a light or a dark color?

It is a dark color. Relative luminance is 0.1127 and perceived brightness is 42%, so white text on it reaches 6.45:1.

Should I use black or white text on #970dcd?

White. It scores 6.45:1 against #970dcd, versus 3.25:1 for black — AA at any size.

What is the complementary color of #970dcd?

#43CD0D sits directly opposite on the wheel. Softer options are the split-complements #A3CD0D and #0DCD37, which give the same contrast with far less vibration.

What colors go well with #970dcd?

For interface work: #F9F4FA as the surface, #E0C0ED for borders, #844B9B for secondary text, #6CC408 as an accent and #580878 for hover and pressed states. For a palette, the analogous pair #370DCD and #CD0DA3 stays calm, while #43CD0D is the loudest partner.

What is #970dcd in CMYK for printing?

cmyk(26%, 94%, 0%, 20%). 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 #970dcd warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CD0DBD; nudged cooler, #500BCF.

Work with #970dcd in the Color Lab