Skip to content

#513df0

a balanced, electric blue · cool · closest name: Blue Violet

RGB
81, 61, 240
HSL
247°, 86%, 59%
CMYK
66, 75, 0, 6
Luminance
0.1138

At a glance

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

Hex
#513df0
Hue
247°
blue
Saturation
86%
electric
Lightness
59%
balanced
Brightness
94%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1138
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Electric
Best ink
White
6.41:1
Closest name
Blue Violet
ΔE2000 8
Where it sits
Hue247° of 360°
Saturation86%
Lightness59%
Temperature
Warm ← → Cool80% 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#513df0
RGBrgb(81, 61, 240)
HSLhsl(247, 86%, 59%)
CMYKcmyk(66%, 75%, 0%, 6%)
LABlab(40.2 59.0 -86.2)
LCHlch(40.2 104.4 304.4)
OKLCHoklch(0.510 0.251 277.7)
Decimal5324272
Display P3color(display-p3 0.318 0.239 0.941)

Copy-ready code

/* CSS */
color: #513df0;
background-color: #513df0;
/* Tailwind (arbitrary) */
class="text-[#513df0] bg-[#513df0]"
/* SCSS */
$brand: #513df0;
/* SwiftUI */
Color(red: 0.318, green: 0.239, blue: 0.941)
/* Android */
Color.parseColor("#513df0")
/* Flutter */
Color(0xFF513DF0)
/* Python / OpenCV (BGR) */
(240, 61, 81)

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

Accessibility — WCAG contrast

Aa
#513df0 on white: 6.41:1
AA ✓ pass · AA-large · AAA
Aa
#513df0 on black: 3.28:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0066F5
deuteranopia · #0057ED
tritanopia · #007194

Color scale — 50 to 950

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

#F3F2FD
#E8E5FA
#CAC5F7
#A297F7
#7363F3
#513df0
#2912E3
#220FBD
#1B0C97
#180D6D
#0F0844
Base = 500Lightest = 50 · #F3F2FDDarkest = 950 · #0F0844
:root {
  --brand-50: #F3F2FD;
  --brand-100: #E8E5FA;
  --brand-200: #CAC5F7;
  --brand-300: #A297F7;
  --brand-400: #7363F3;
  --brand-500: #513df0;
  --brand-600: #2912E3;
  --brand-700: #220FBD;
  --brand-800: #1B0C97;
  --brand-900: #180D6D;
  --brand-950: #0F0844;
  --brand: #513df0;
  --brand-ink: #ffffff;
}

Colors that work with #513df0

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#F5F4FA
Tinted page background
Border#C5C0ED
Hairlines and dividers
Muted text#544B9B
Captions on the surface
Accent#C1A80B
Second voice, not a rival
Dark variant#150976
Hover, pressed, headers
Light variant#EAE7FD
Selected rows, tints
Dark surface#161424
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 #513df0

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
  • 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#DCF03D
Analogous left#3D82F0
Analogous right#AA3DF0
Split-complement 1#F0AA3D
Split-complement 2#82F03D
Triadic 1#F0513D
Triadic 2#3DF051
Tetradic#F03D82

RGB percentages

Red31.8%
Green23.9%
Blue94.1%

CMYK percentages

Cyan66.3%
Magenta74.6%
Yellow0.0%
Key (black)5.9%

Color previews

#513df0 text on a black background

contrast 3.28:1

Card sample

#513df0 text on a white background

contrast 6.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #513df0;
Background color
Panel with #513df0 background
background-color: #513df0;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #513df0;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(81, 61, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(81, 61, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #513df0;
background: linear-gradient(135deg, #513df0, #C83DF0);

Monochromatic scale

Palettes built from #513df0

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.

#513df0 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#513df0, answered

What color is #513df0?

#513df0 is a balanced electric blue, closest to Blue Violet (ΔE2000 8). It sits at 247° on the hue wheel with 86% saturation and 59% lightness, which reads as cool.

What is the RGB value of #513df0?

rgb(81, 61, 240) — 81 red, 61 green and 240 blue out of 255, or 31.8% / 23.9% / 94.1% by channel.

Is #513df0 a light or a dark color?

It is a dark color. Relative luminance is 0.1138 and perceived brightness is 41%, so white text on it reaches 6.41:1.

Should I use black or white text on #513df0?

White. It scores 6.41:1 against #513df0, versus 3.28:1 for black — AA at any size.

What is the complementary color of #513df0?

#DCF03D sits directly opposite on the wheel. Softer options are the split-complements #F0AA3D and #82F03D, which give the same contrast with far less vibration.

What colors go well with #513df0?

For interface work: #F5F4FA as the surface, #C5C0ED for borders, #544B9B for secondary text, #C1A80B as an accent and #150976 for hover and pressed states. For a palette, the analogous pair #3D82F0 and #AA3DF0 stays calm, while #DCF03D is the loudest partner.

What is #513df0 in CMYK for printing?

cmyk(66%, 75%, 0%, 6%). 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 #513df0 warm or cool?

Cool — it scores 80 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #933DF0; nudged cooler, #3B60F2.

Work with #513df0 in the Color Lab