Skip to content

#751ccd

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

RGB
117, 28, 205
HSL
270°, 76%, 46%
CMYK
43, 86, 0, 20
Luminance
0.0902

At a glance

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

Hex
#751ccd
Hue
270°
violet
Saturation
76%
electric
Lightness
46%
balanced
Brightness
80%
HSV value
Perceived
38%
weighted brightness
Luminance
0.0902
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Electric
Best ink
White
7.49:1
Closest name
Dark Violet
ΔE2000 4.8
Where it sits
Hue270° of 360°
Saturation76%
Lightness46%
Temperature
Warm ← → Cool67% 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#751ccd
RGBrgb(117, 28, 205)
HSLhsl(270, 76%, 46%)
CMYKcmyk(43%, 86%, 0%, 20%)
LABlab(36.0 66.9 -72.9)
LCHlch(36.0 99.0 312.6)
OKLCHoklch(0.480 0.239 299.0)
Decimal7675085
Display P3color(display-p3 0.459 0.110 0.804)

Copy-ready code

/* CSS */
color: #751ccd;
background-color: #751ccd;
/* Tailwind (arbitrary) */
class="text-[#751ccd] bg-[#751ccd]"
/* SCSS */
$brand: #751ccd;
/* SwiftUI */
Color(red: 0.459, green: 0.110, blue: 0.804)
/* Android */
Color.parseColor("#751ccd")
/* Flutter */
Color(0xFF751CCD)
/* Python / OpenCV (BGR) */
(205, 28, 117)

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

Accessibility — WCAG contrast

Aa
#751ccd on white: 7.49:1
AA ✓ pass · AA-large · AAA
Aa
#751ccd on black: 2.80:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0055D1
deuteranopia · #0053CA
tritanopia · #5F537A

Color scale — 50 to 950

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

#F7F3FC
#F0E7F9
#DEC8F4
#C79CF2
#AB6BEB
#8F3AE4
#751ccd
#6718B4
#521490
#3D1268
#260C41
Base = 600Lightest = 50 · #F7F3FCDarkest = 950 · #260C41
:root {
  --brand-50: #F7F3FC;
  --brand-100: #F0E7F9;
  --brand-200: #DEC8F4;
  --brand-300: #C79CF2;
  --brand-400: #AB6BEB;
  --brand-500: #8F3AE4;
  --brand-600: #751ccd;
  --brand-700: #6718B4;
  --brand-800: #521490;
  --brand-900: #3D1268;
  --brand-950: #260C41;
  --brand: #751ccd;
  --brand-ink: #ffffff;
}

Colors that work with #751ccd

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#F7F4FA
Tinted page background
Border#D6C0ED
Hairlines and dividers
Muted text#734B9B
Captions on the surface
Accent#8FB814
Second voice, not a rival
Dark variant#400F70
Hover, pressed, headers
Light variant#F2E9FC
Selected rows, tints
Dark surface#1C1424
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 #751ccd

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#74CD1C
Analogous left#1D1CCD
Analogous right#CD1CCD
Split-complement 1#CDCD1C
Split-complement 2#1CCD1D
Triadic 1#CD751C
Triadic 2#1CCD75
Tetradic#CD1D1C

RGB percentages

Red45.9%
Green11.0%
Blue80.4%

CMYK percentages

Cyan42.9%
Magenta86.3%
Yellow0.0%
Key (black)19.6%

Color previews

#751ccd text on a black background

contrast 2.80:1

Card sample

#751ccd text on a white background

contrast 7.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #751ccd;
Background color
Panel with #751ccd background
background-color: #751ccd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #751ccd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(117, 28, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(117, 28, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #751ccd;
background: linear-gradient(135deg, #751ccd, #CD1CAF);

Monochromatic scale

Palettes built from #751ccd

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.

#751ccd 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.

#751ccd, answered

What color is #751ccd?

#751ccd is a balanced electric violet, closest to Dark Violet (ΔE2000 4.8). It sits at 270° on the hue wheel with 76% saturation and 46% lightness, which reads as cool.

What is the RGB value of #751ccd?

rgb(117, 28, 205) — 117 red, 28 green and 205 blue out of 255, or 45.9% / 11% / 80.4% by channel.

Is #751ccd a light or a dark color?

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

Should I use black or white text on #751ccd?

White. It scores 7.49:1 against #751ccd, versus 2.80:1 for black — AAA at any size.

What is the complementary color of #751ccd?

#74CD1C sits directly opposite on the wheel. Softer options are the split-complements #CDCD1C and #1CCD1D, which give the same contrast with far less vibration.

What colors go well with #751ccd?

For interface work: #F7F4FA as the surface, #D6C0ED for borders, #734B9B for secondary text, #8FB814 as an accent and #400F70 for hover and pressed states. For a palette, the analogous pair #1D1CCD and #CD1CCD stays calm, while #74CD1C is the loudest partner.

What is #751ccd in CMYK for printing?

cmyk(43%, 86%, 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 #751ccd warm or cool?

Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B61CCD; nudged cooler, #321ACF.

Work with #751ccd in the Color Lab