Skip to content

#620dce

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

RGB
98, 13, 206
HSL
266°, 88%, 43%
CMYK
52, 94, 0, 19
Luminance
0.0734

At a glance

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

Hex
#620dce
Hue
266°
violet
Saturation
88%
electric
Lightness
43%
dark
Brightness
81%
HSV value
Perceived
35%
weighted brightness
Luminance
0.0734
WCAG relative
Temperature
Cool
69/100 cool
Color family
Violet
Tone
Electric
Best ink
White
8.51:1
Closest name
Blue
ΔE2000 6.8
Where it sits
Hue266° of 360°
Saturation88%
Lightness43%
Temperature
Warm ← → Cool69% 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#620dce
RGBrgb(98, 13, 206)
HSLhsl(266, 88%, 43%)
CMYKcmyk(52%, 94%, 0%, 19%)
LABlab(32.6 68.5 -79.3)
LCHlch(32.6 104.8 310.9)
OKLCHoklch(0.451 0.245 291.9)
Decimal6426062
Display P3color(display-p3 0.384 0.051 0.808)

Copy-ready code

/* CSS */
color: #620dce;
background-color: #620dce;
/* Tailwind (arbitrary) */
class="text-[#620dce] bg-[#620dce]"
/* SCSS */
$brand: #620dce;
/* SwiftUI */
Color(red: 0.384, green: 0.051, blue: 0.808)
/* Android */
Color.parseColor("#620dce")
/* Flutter */
Color(0xFF620DCE)
/* Python / OpenCV (BGR) */
(206, 13, 98)

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

Accessibility — WCAG contrast

Aa
#620dce on white: 8.51:1
AA ✓ pass · AA-large · AAA
Aa
#620dce on black: 2.47:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004FD3
deuteranopia · #0049CB
tritanopia · #3A5279

Color scale — 50 to 950

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

#F7F2FD
#EEE5FA
#DBC4F8
#C195F8
#A261F5
#832CF2
#6D0FE6
#620dce
#490A99
#370C6F
#230745
Base = 700Lightest = 50 · #F7F2FDDarkest = 950 · #230745
:root {
  --brand-50: #F7F2FD;
  --brand-100: #EEE5FA;
  --brand-200: #DBC4F8;
  --brand-300: #C195F8;
  --brand-400: #A261F5;
  --brand-500: #832CF2;
  --brand-600: #6D0FE6;
  --brand-700: #620dce;
  --brand-800: #490A99;
  --brand-900: #370C6F;
  --brand-950: #230745;
  --brand: #620dce;
  --brand-ink: #ffffff;
}

Colors that work with #620dce

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#D4C0ED
Hairlines and dividers
Muted text#6E4B9B
Captions on the surface
Accent#A0C408
Second voice, not a rival
Dark variant#390878
Hover, pressed, headers
Light variant#F1E7FD
Selected rows, tints
Dark surface#1B1424
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 #620dce

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#79CE0D
Analogous left#0D19CE
Analogous right#C20DCE
Split-complement 1#CEC20D
Split-complement 2#19CE0D
Triadic 1#CE620D
Triadic 2#0DCE62
Tetradic#CE0D19

RGB percentages

Red38.4%
Green5.1%
Blue80.8%

CMYK percentages

Cyan52.4%
Magenta93.7%
Yellow0.0%
Key (black)19.2%

Color previews

#620dce text on a black background

contrast 2.47:1

Card sample

#620dce text on a white background

contrast 8.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #620dce;
Background color
Panel with #620dce background
background-color: #620dce;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #620dce;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(98, 13, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(98, 13, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #620dce;
background: linear-gradient(135deg, #620dce, #CE0DB9);

Monochromatic scale

Palettes built from #620dce

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.

#620dce 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.

#620dce, answered

What color is #620dce?

#620dce is a dark electric violet, closest to Blue (ΔE2000 6.8). It sits at 266° on the hue wheel with 88% saturation and 43% lightness, which reads as cool.

What is the RGB value of #620dce?

rgb(98, 13, 206) — 98 red, 13 green and 206 blue out of 255, or 38.4% / 5.1% / 80.8% by channel.

Is #620dce a light or a dark color?

It is a dark color. Relative luminance is 0.0734 and perceived brightness is 35%, so white text on it reaches 8.51:1.

Should I use black or white text on #620dce?

White. It scores 8.51:1 against #620dce, versus 2.47:1 for black — AAA at any size.

What is the complementary color of #620dce?

#79CE0D sits directly opposite on the wheel. Softer options are the split-complements #CEC20D and #19CE0D, which give the same contrast with far less vibration.

What colors go well with #620dce?

For interface work: #F7F4FA as the surface, #D4C0ED for borders, #6E4B9B for secondary text, #A0C408 as an accent and #390878 for hover and pressed states. For a palette, the analogous pair #0D19CE and #C20DCE stays calm, while #79CE0D is the loudest partner.

What is #620dce in CMYK for printing?

cmyk(52%, 94%, 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 #620dce warm or cool?

Cool — it scores 69 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A90DCE; nudged cooler, #190BD0.

Work with #620dce in the Color Lab