Skip to content

#29068c

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

RGB
41, 6, 140
HSL
256°, 92%, 29%
CMYK
71, 96, 0, 45
Luminance
0.0250

At a glance

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

Hex
#29068c
Hue
256°
violet
Saturation
92%
electric
Lightness
29%
dark
Brightness
55%
HSV value
Perceived
21%
weighted brightness
Luminance
0.0250
WCAG relative
Temperature
Cool
75/100 cool
Color family
Violet
Tone
Electric
Best ink
White
14.01:1
Closest name
Dark Blue
ΔE2000 2.7
Where it sits
Hue256° of 360°
Saturation92%
Lightness29%
Temperature
Warm ← → Cool75% 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#29068c
RGBrgb(41, 6, 140)
HSLhsl(256, 92%, 29%)
CMYKcmyk(71%, 96%, 0%, 45%)
LABlab(17.9 49.8 -64.0)
LCHlch(17.9 81.1 307.9)
OKLCHoklch(0.316 0.187 278.7)
Decimal2688652
Display P3color(display-p3 0.161 0.024 0.549)

Copy-ready code

/* CSS */
color: #29068c;
background-color: #29068c;
/* Tailwind (arbitrary) */
class="text-[#29068c] bg-[#29068c]"
/* SCSS */
$brand: #29068c;
/* SwiftUI */
Color(red: 0.161, green: 0.024, blue: 0.549)
/* Android */
Color.parseColor("#29068c")
/* Flutter */
Color(0xFF29068C)
/* Python / OpenCV (BGR) */
(140, 6, 41)

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

Accessibility — WCAG contrast

Aa
#29068c on white: 14.01:1
AA ✓ pass · AA-large · AAA
Aa
#29068c on black: 1.50:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #00308F
deuteranopia · #00278A
tritanopia · #003750

Color scale — 50 to 950

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

#F5F2FD
#EAE4FB
#D1C3F9
#AE93FA
#865EF8
#5E28F6
#450AEB
#3908C4
#29068c
#250A71
#170647
Base = 800Lightest = 50 · #F5F2FDDarkest = 950 · #170647
:root {
  --brand-50: #F5F2FD;
  --brand-100: #EAE4FB;
  --brand-200: #D1C3F9;
  --brand-300: #AE93FA;
  --brand-400: #865EF8;
  --brand-500: #5E28F6;
  --brand-600: #450AEB;
  --brand-700: #3908C4;
  --brand-800: #29068c;
  --brand-900: #250A71;
  --brand-950: #170647;
  --brand: #29068c;
  --brand-ink: #ffffff;
}

Colors that work with #29068c

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#F6F4FA
Tinted page background
Border#CCC0ED
Hairlines and dividers
Muted text#604B9B
Captions on the surface
Accent#8D8F03
Second voice, not a rival
Dark variant#24057A
Hover, pressed, headers
Light variant#EDE7FE
Selected rows, tints
Dark surface#181424
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 #29068c

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#698C06
Analogous left#06268C
Analogous right#6C068C
Split-complement 1#8C6C06
Split-complement 2#268C06
Triadic 1#8C2906
Triadic 2#068C29
Tetradic#8C0626

RGB percentages

Red16.1%
Green2.4%
Blue54.9%

CMYK percentages

Cyan70.7%
Magenta95.7%
Yellow0.0%
Key (black)45.1%

Color previews

#29068c text on a black background

contrast 1.50:1

Card sample

#29068c text on a white background

contrast 14.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #29068c;
Background color
Panel with #29068c background
background-color: #29068c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #29068c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(41, 6, 140, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(41, 6, 140, 0.45);
Border & gradient
Gradient panel
border: 3px solid #29068c;
background: linear-gradient(135deg, #29068c, #82068C);

Monochromatic scale

Palettes built from #29068c

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.

#29068c 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.

#29068c, answered

What color is #29068c?

#29068c is a dark electric violet, closest to Dark Blue (ΔE2000 2.7). It sits at 256° on the hue wheel with 92% saturation and 29% lightness, which reads as cool.

What is the RGB value of #29068c?

rgb(41, 6, 140) — 41 red, 6 green and 140 blue out of 255, or 16.1% / 2.4% / 54.9% by channel.

Is #29068c a light or a dark color?

It is a dark color. Relative luminance is 0.0250 and perceived brightness is 21%, so white text on it reaches 14.01:1.

Should I use black or white text on #29068c?

White. It scores 14.01:1 against #29068c, versus 1.50:1 for black — AAA at any size.

What is the complementary color of #29068c?

#698C06 sits directly opposite on the wheel. Softer options are the split-complements #8C6C06 and #268C06, which give the same contrast with far less vibration.

What colors go well with #29068c?

For interface work: #F6F4FA as the surface, #CCC0ED for borders, #604B9B for secondary text, #8D8F03 as an accent and #24057A for hover and pressed states. For a palette, the analogous pair #06268C and #6C068C stays calm, while #698C06 is the loudest partner.

What is #29068c in CMYK for printing?

cmyk(71%, 96%, 0%, 45%). 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 #29068c warm or cool?

Cool — it scores 75 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5A068C; nudged cooler, #05138D.

Work with #29068c in the Color Lab