Skip to content

#5000ec

a balanced, electric violet · cool · closest name: Blue

RGB
80, 0, 236
HSL
260°, 100%, 46%
CMYK
66, 100, 0, 8
Luminance
0.0776

At a glance

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

Hex
#5000ec
Hue
260°
violet
Saturation
100%
electric
Lightness
46%
balanced
Brightness
93%
HSV value
Perceived
36%
weighted brightness
Luminance
0.0776
WCAG relative
Temperature
Cool
72/100 cool
Color family
Violet
Tone
Electric
Best ink
White
8.23:1
Closest name
Blue
ΔE2000 3.4
Where it sits
Hue260° of 360°
Saturation100%
Lightness46%
Temperature
Warm ← → Cool72% 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#5000ec
RGBrgb(80, 0, 236)
HSLhsl(260, 100%, 46%)
CMYKcmyk(66%, 100%, 0%, 8%)
LABlab(33.5 76.2 -95.1)
LCHlch(33.5 121.8 308.7)
OKLCHoklch(0.463 0.279 280.6)
Decimal5243116
Display P3color(display-p3 0.314 0.000 0.925)

Copy-ready code

/* CSS */
color: #5000ec;
background-color: #5000ec;
/* Tailwind (arbitrary) */
class="text-[#5000ec] bg-[#5000ec]"
/* SCSS */
$brand: #5000ec;
/* SwiftUI */
Color(red: 0.314, green: 0.000, blue: 0.925)
/* Android */
Color.parseColor("#5000ec")
/* Flutter */
Color(0xFF5000EC)
/* Python / OpenCV (BGR) */
(236, 0, 80)

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

Accessibility — WCAG contrast

Aa
#5000ec on white: 8.23:1
AA ✓ pass · AA-large · AAA
Aa
#5000ec on black: 2.55:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0056F1
deuteranopia · #0047E9
tritanopia · #00608A

Color scale — 50 to 950

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

#F5F1FE
#ECE3FC
#D4C0FC
#B58FFF
#9057FF
#6B1FFF
#5000ec
#4500CC
#3700A3
#2B0576
#1B0349
Base = 600Lightest = 50 · #F5F1FEDarkest = 950 · #1B0349
:root {
  --brand-50: #F5F1FE;
  --brand-100: #ECE3FC;
  --brand-200: #D4C0FC;
  --brand-300: #B58FFF;
  --brand-400: #9057FF;
  --brand-500: #6B1FFF;
  --brand-600: #5000ec;
  --brand-700: #4500CC;
  --brand-800: #3700A3;
  --brand-900: #2B0576;
  --brand-950: #1B0349;
  --brand: #5000ec;
  --brand-ink: #ffffff;
}

Colors that work with #5000ec

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#CFC0ED
Hairlines and dividers
Muted text#664B9B
Captions on the surface
Accent#BACC00
Second voice, not a rival
Dark variant#2B0080
Hover, pressed, headers
Light variant#EEE5FF
Selected rows, tints
Dark surface#191424
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 #5000ec

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#9CEC00
Analogous left#0026EC
Analogous right#C600EC
Split-complement 1#ECC600
Split-complement 2#26EC00
Triadic 1#EC5000
Triadic 2#00EC50
Tetradic#EC0026

RGB percentages

Red31.4%
Green0.0%
Blue92.5%

CMYK percentages

Cyan66.1%
Magenta100.0%
Yellow0.0%
Key (black)7.5%

Color previews

#5000ec text on a black background

contrast 2.55:1

Card sample

#5000ec text on a white background

contrast 8.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5000ec;
Background color
Panel with #5000ec background
background-color: #5000ec;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5000ec;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(80, 0, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(80, 0, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5000ec;
background: linear-gradient(135deg, #5000ec, #EC00EB);

Monochromatic scale

Palettes built from #5000ec

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.

#5000ec 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.

#5000ec, answered

What color is #5000ec?

#5000ec is a balanced electric violet, closest to Blue (ΔE2000 3.4). It sits at 260° on the hue wheel with 100% saturation and 46% lightness, which reads as cool.

What is the RGB value of #5000ec?

rgb(80, 0, 236) — 80 red, 0 green and 236 blue out of 255, or 31.4% / 0% / 92.5% by channel.

Is #5000ec a light or a dark color?

It is a dark color. Relative luminance is 0.0776 and perceived brightness is 36%, so white text on it reaches 8.23:1.

Should I use black or white text on #5000ec?

White. It scores 8.23:1 against #5000ec, versus 2.55:1 for black — AAA at any size.

What is the complementary color of #5000ec?

#9CEC00 sits directly opposite on the wheel. Softer options are the split-complements #ECC600 and #26EC00, which give the same contrast with far less vibration.

What colors go well with #5000ec?

For interface work: #F6F4FA as the surface, #CFC0ED for borders, #664B9B for secondary text, #BACC00 as an accent and #2B0080 for hover and pressed states. For a palette, the analogous pair #0026EC and #C600EC stays calm, while #9CEC00 is the loudest partner.

What is #5000ec in CMYK for printing?

cmyk(66%, 100%, 0%, 8%). 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 #5000ec warm or cool?

Cool — it scores 72 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A600EC; nudged cooler, #0007EC.

Work with #5000ec in the Color Lab