Skip to content

#562ccd

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

RGB
86, 44, 205
HSL
256°, 65%, 49%
CMYK
58, 79, 0, 20
Luminance
0.0819

At a glance

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

Hex
#562ccd
Hue
256°
violet
Saturation
65%
vivid
Lightness
49%
balanced
Brightness
80%
HSV value
Perceived
35%
weighted brightness
Luminance
0.0819
WCAG relative
Temperature
Cool
75/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
7.96:1
Closest name
Blue
ΔE2000 6.7
Where it sits
Hue256° of 360°
Saturation65%
Lightness49%
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#562ccd
RGBrgb(86, 44, 205)
HSLhsl(256, 65%, 49%)
CMYKcmyk(58%, 79%, 0%, 20%)
LABlab(34.4 57.5 -75.7)
LCHlch(34.4 95.1 307.2)
OKLCHoklch(0.460 0.226 285.2)
Decimal5647565
Display P3color(display-p3 0.337 0.173 0.804)

Copy-ready code

/* CSS */
color: #562ccd;
background-color: #562ccd;
/* Tailwind (arbitrary) */
class="text-[#562ccd] bg-[#562ccd]"
/* SCSS */
$brand: #562ccd;
/* SwiftUI */
Color(red: 0.337, green: 0.173, blue: 0.804)
/* Android */
Color.parseColor("#562ccd")
/* Flutter */
Color(0xFF562CCD)
/* Python / OpenCV (BGR) */
(205, 44, 86)

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

Accessibility — WCAG contrast

Aa
#562ccd on white: 7.96:1
AA ✓ pass · AA-large · AAA
Aa
#562ccd on black: 2.64:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0055D1
deuteranopia · #004CCA
tritanopia · #115C7D

Color scale — 50 to 950

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

#F6F3FB
#ECE8F7
#D5CBF1
#B6A3EB
#9174E1
#6C46D7
#562ccd
#4724A8
#381D86
#2C1962
#1B0F3D
Base = 600Lightest = 50 · #F6F3FBDarkest = 950 · #1B0F3D
:root {
  --brand-50: #F6F3FB;
  --brand-100: #ECE8F7;
  --brand-200: #D5CBF1;
  --brand-300: #B6A3EB;
  --brand-400: #9174E1;
  --brand-500: #6C46D7;
  --brand-600: #562ccd;
  --brand-700: #4724A8;
  --brand-800: #381D86;
  --brand-900: #2C1962;
  --brand-950: #1B0F3D;
  --brand: #562ccd;
  --brand-ink: #ffffff;
}

Colors that work with #562ccd

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#AAAC20
Second voice, not a rival
Dark variant#2C1769
Hover, pressed, headers
Light variant#EEEAFA
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 #562ccd

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#A3CD2C
Analogous left#2C52CD
Analogous right#A72CCD
Split-complement 1#CDA72C
Split-complement 2#52CD2C
Triadic 1#CD562C
Triadic 2#2CCD56
Tetradic#CD2C52

RGB percentages

Red33.7%
Green17.3%
Blue80.4%

CMYK percentages

Cyan58.0%
Magenta78.5%
Yellow0.0%
Key (black)19.6%

Color previews

#562ccd text on a black background

contrast 2.64:1

Card sample

#562ccd text on a white background

contrast 7.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #562ccd;
Background color
Panel with #562ccd background
background-color: #562ccd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #562ccd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(86, 44, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 44, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #562ccd;
background: linear-gradient(135deg, #562ccd, #C12CCD);

Monochromatic scale

Palettes built from #562ccd

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.

#562ccd 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

Converts to four-color process without much drama. Proof it anyway.

#562ccd, answered

What color is #562ccd?

#562ccd is a balanced vivid violet, closest to Blue (ΔE2000 6.7). It sits at 256° on the hue wheel with 65% saturation and 49% lightness, which reads as cool.

What is the RGB value of #562ccd?

rgb(86, 44, 205) — 86 red, 44 green and 205 blue out of 255, or 33.7% / 17.3% / 80.4% by channel.

Is #562ccd a light or a dark color?

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

Should I use black or white text on #562ccd?

White. It scores 7.96:1 against #562ccd, versus 2.64:1 for black — AAA at any size.

What is the complementary color of #562ccd?

#A3CD2C sits directly opposite on the wheel. Softer options are the split-complements #CDA72C and #52CD2C, which give the same contrast with far less vibration.

What colors go well with #562ccd?

For interface work: #F6F4FA as the surface, #CCC0ED for borders, #604B9B for secondary text, #AAAC20 as an accent and #2C1769 for hover and pressed states. For a palette, the analogous pair #2C52CD and #A72CCD stays calm, while #A3CD2C is the loudest partner.

What is #562ccd in CMYK for printing?

cmyk(58%, 79%, 0%, 20%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #562ccd 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 #912CCD; nudged cooler, #293BCF.

Work with #562ccd in the Color Lab