Skip to content

#751ccf

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

RGB
117, 28, 207
HSL
270°, 76%, 46%
CMYK
44, 87, 0, 19
Luminance
0.0912

At a glance

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

Hex
#751ccf
Hue
270°
violet
Saturation
76%
electric
Lightness
46%
balanced
Brightness
81%
HSV value
Perceived
38%
weighted brightness
Luminance
0.0912
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Electric
Best ink
White
7.44: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#751ccf
RGBrgb(117, 28, 207)
HSLhsl(270, 76%, 46%)
CMYKcmyk(44%, 87%, 0%, 19%)
LABlab(36.2 67.4 -73.8)
LCHlch(36.2 99.9 312.4)
OKLCHoklch(0.482 0.241 298.6)
Decimal7675087
Display P3color(display-p3 0.459 0.110 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#751ccf on white: 7.44:1
AA ✓ pass · AA-large · AAA
Aa
#751ccf on black: 2.82:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0055D4
deuteranopia · #0053CC
tritanopia · #5E547B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #751ccf 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
#AA6BEB
#8E39E4
#751ccf
#6518B4
#511390
#3D1268
#260B41
Base = 600Lightest = 50 · #F7F3FCDarkest = 950 · #260B41
:root {
  --brand-50: #F7F3FC;
  --brand-100: #F0E7F9;
  --brand-200: #DEC8F4;
  --brand-300: #C79CF2;
  --brand-400: #AA6BEB;
  --brand-500: #8E39E4;
  --brand-600: #751ccf;
  --brand-700: #6518B4;
  --brand-800: #511390;
  --brand-900: #3D1268;
  --brand-950: #260B41;
  --brand: #751ccf;
  --brand-ink: #ffffff;
}

Colors that work with #751ccf

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#724B9B
Captions on the surface
Accent#8FB814
Second voice, not a rival
Dark variant#3F0F70
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 #751ccf

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#76CF1C
Analogous left#1C1DCF
Analogous right#CF1CCF
Split-complement 1#CFCF1C
Split-complement 2#1DCF1C
Triadic 1#CF751C
Triadic 2#1CCF75
Tetradic#CF1C1D

RGB percentages

Red45.9%
Green11.0%
Blue81.2%

CMYK percentages

Cyan43.5%
Magenta86.5%
Yellow0.0%
Key (black)18.8%

Color previews

#751ccf text on a black background

contrast 2.82:1

Card sample

#751ccf text on a white background

contrast 7.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #751ccf

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.

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

#751ccf, answered

What color is #751ccf?

#751ccf 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 #751ccf?

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

Is #751ccf a light or a dark color?

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

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

White. It scores 7.44:1 against #751ccf, versus 2.82:1 for black — AAA at any size.

What is the complementary color of #751ccf?

#76CF1C sits directly opposite on the wheel. Softer options are the split-complements #CFCF1C and #1DCF1C, which give the same contrast with far less vibration.

What colors go well with #751ccf?

For interface work: #F7F4FA as the surface, #D6C0ED for borders, #724B9B for secondary text, #8FB814 as an accent and #3F0F70 for hover and pressed states. For a palette, the analogous pair #1C1DCF and #CF1CCF stays calm, while #76CF1C is the loudest partner.

What is #751ccf in CMYK for printing?

cmyk(44%, 87%, 0%, 19%). 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 #751ccf 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 #B71CCF; nudged cooler, #321AD1.

Work with #751ccf in the Color Lab