Skip to content

#620ccc

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

RGB
98, 12, 204
HSL
267°, 89%, 42%
CMYK
52, 94, 0, 20
Luminance
0.0722

At a glance

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

Hex
#620ccc
Hue
267°
violet
Saturation
89%
electric
Lightness
42%
dark
Brightness
80%
HSV value
Perceived
34%
weighted brightness
Luminance
0.0722
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Electric
Best ink
White
8.59:1
Closest name
Blue
ΔE2000 7
Where it sits
Hue267° of 360°
Saturation89%
Lightness42%
Temperature
Warm ← → Cool68% 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#620ccc
RGBrgb(98, 12, 204)
HSLhsl(267, 89%, 42%)
CMYKcmyk(52%, 94%, 0%, 20%)
LABlab(32.3 68.3 -78.5)
LCHlch(32.3 104.1 311.0)
OKLCHoklch(0.449 0.244 292.3)
Decimal6425804
Display P3color(display-p3 0.384 0.047 0.800)

Copy-ready code

/* CSS */
color: #620ccc;
background-color: #620ccc;
/* Tailwind (arbitrary) */
class="text-[#620ccc] bg-[#620ccc]"
/* SCSS */
$brand: #620ccc;
/* SwiftUI */
Color(red: 0.384, green: 0.047, blue: 0.800)
/* Android */
Color.parseColor("#620ccc")
/* Flutter */
Color(0xFF620CCC)
/* Python / OpenCV (BGR) */
(204, 12, 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 #620ccc · 8.59:1
Use #ffffffAAA at every size.
Aa
White text · 8.59:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.44:1
AA fail · AA large fail · AAA fail
Reading the other direction: #620ccc as text scores 8.59:1 on white and 2.44:1 on black.

Accessibility — WCAG contrast

Aa
#620ccc on white: 8.59:1
AA ✓ pass · AA-large · AAA
Aa
#620ccc on black: 2.44:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004ED1
deuteranopia · #0048C9
tritanopia · #3C5178

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #620ccc 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
#EFE5FB
#DBC4F8
#C295F9
#A360F6
#842BF3
#6F0EE7
#620ccc
#4A099A
#380B6F
#230746
Base = 700Lightest = 50 · #F7F2FDDarkest = 950 · #230746
:root {
  --brand-50: #F7F2FD;
  --brand-100: #EFE5FB;
  --brand-200: #DBC4F8;
  --brand-300: #C295F9;
  --brand-400: #A360F6;
  --brand-500: #842BF3;
  --brand-600: #6F0EE7;
  --brand-700: #620ccc;
  --brand-800: #4A099A;
  --brand-900: #380B6F;
  --brand-950: #230746;
  --brand: #620ccc;
  --brand-ink: #ffffff;
}

Colors that work with #620ccc

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#6F4B9B
Captions on the surface
Accent#9FC408
Second voice, not a rival
Dark variant#3A0778
Hover, pressed, headers
Light variant#F1E7FE
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 #620ccc

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#76CC0C
Analogous left#0C16CC
Analogous right#C20CCC
Split-complement 1#CCC20C
Split-complement 2#16CC0C
Triadic 1#CC620C
Triadic 2#0CCC62
Tetradic#CC0C16

RGB percentages

Red38.4%
Green4.7%
Blue80.0%

CMYK percentages

Cyan52.0%
Magenta94.1%
Yellow0.0%
Key (black)20.0%

Color previews

#620ccc text on a black background

contrast 2.44:1

Card sample

#620ccc text on a white background

contrast 8.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #620ccc

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.

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

#620ccc, answered

What color is #620ccc?

#620ccc is a dark electric violet, closest to Blue (ΔE2000 7). It sits at 267° on the hue wheel with 89% saturation and 42% lightness, which reads as cool.

What is the RGB value of #620ccc?

rgb(98, 12, 204) — 98 red, 12 green and 204 blue out of 255, or 38.4% / 4.7% / 80% by channel.

Is #620ccc a light or a dark color?

It is a dark color. Relative luminance is 0.0722 and perceived brightness is 34%, so white text on it reaches 8.59:1.

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

White. It scores 8.59:1 against #620ccc, versus 2.44:1 for black — AAA at any size.

What is the complementary color of #620ccc?

#76CC0C sits directly opposite on the wheel. Softer options are the split-complements #CCC20C and #16CC0C, which give the same contrast with far less vibration.

What colors go well with #620ccc?

For interface work: #F7F4FA as the surface, #D4C0ED for borders, #6F4B9B for secondary text, #9FC408 as an accent and #3A0778 for hover and pressed states. For a palette, the analogous pair #0C16CC and #C20CCC stays calm, while #76CC0C is the loudest partner.

What is #620ccc in CMYK for printing?

cmyk(52%, 94%, 0%, 20%). 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 #620ccc warm or cool?

Cool — it scores 68 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A90CCC; nudged cooler, #1A0ACE.

Work with #620ccc in the Color Lab