Skip to content

#6d48df

a balanced, vivid blue · cool · closest name: Slate Blue

RGB
109, 72, 223
HSL
255°, 70%, 58%
CMYK
51, 68, 0, 13
Luminance
0.1321

At a glance

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

Hex
#6d48df
Hue
255°
blue
Saturation
70%
vivid
Lightness
58%
balanced
Brightness
87%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1321
WCAG relative
Temperature
Cool
75/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
5.76:1
Closest name
Slate Blue
ΔE2000 5.3
Where it sits
Hue255° of 360°
Saturation70%
Lightness58%
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#6d48df
RGBrgb(109, 72, 223)
HSLhsl(255, 70%, 58%)
CMYKcmyk(51%, 68%, 0%, 13%)
LABlab(43.1 52.0 -71.7)
LCHlch(43.1 88.6 306.0)
OKLCHoklch(0.532 0.216 288.0)
Decimal7162079
Display P3color(display-p3 0.427 0.282 0.875)

Copy-ready code

/* CSS */
color: #6d48df;
background-color: #6d48df;
/* Tailwind (arbitrary) */
class="text-[#6d48df] bg-[#6d48df]"
/* SCSS */
$brand: #6d48df;
/* SwiftUI */
Color(red: 0.427, green: 0.282, blue: 0.875)
/* Android */
Color.parseColor("#6d48df")
/* Flutter */
Color(0xFF6D48DF)
/* Python / OpenCV (BGR) */
(223, 72, 109)

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

Accessibility — WCAG contrast

Aa
#6d48df on white: 5.76:1
AA ✓ pass · AA-large · AAA
Aa
#6d48df on black: 3.64:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0069E4
deuteranopia · #0062DC
tritanopia · #426E8E

Color scale — 50 to 950

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

#F5F3FC
#EBE7F8
#D3C9F2
#B3A0EE
#8D70E6
#6d48df
#4F24D0
#411EAE
#34188B
#291665
#1A0E3F
Base = 500Lightest = 50 · #F5F3FCDarkest = 950 · #1A0E3F
:root {
  --brand-50: #F5F3FC;
  --brand-100: #EBE7F8;
  --brand-200: #D3C9F2;
  --brand-300: #B3A0EE;
  --brand-400: #8D70E6;
  --brand-500: #6d48df;
  --brand-600: #4F24D0;
  --brand-700: #411EAE;
  --brand-800: #34188B;
  --brand-900: #291665;
  --brand-950: #1A0E3F;
  --brand: #6d48df;
  --brand-ink: #ffffff;
}

Colors that work with #6d48df

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#CBC0ED
Hairlines and dividers
Muted text#5E4B9B
Captions on the surface
Accent#B1B01B
Second voice, not a rival
Dark variant#29136D
Hover, pressed, headers
Light variant#EEE9FB
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 #6d48df

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#BADF48
Analogous left#486EDF
Analogous right#B848DF
Split-complement 1#DFB848
Split-complement 2#6EDF48
Triadic 1#DF6D48
Triadic 2#48DF6D
Tetradic#DF486E

RGB percentages

Red42.7%
Green28.2%
Blue87.5%

CMYK percentages

Cyan51.1%
Magenta67.7%
Yellow0.0%
Key (black)12.5%

Color previews

#6d48df text on a black background

contrast 3.64:1

Card sample

#6d48df text on a white background

contrast 5.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #6d48df;
Background color
Panel with #6d48df background
background-color: #6d48df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #6d48df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(109, 72, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(109, 72, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6d48df;
background: linear-gradient(135deg, #6d48df, #D248DF);

Monochromatic scale

Palettes built from #6d48df

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.

#6d48df 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

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

#6d48df, answered

What color is #6d48df?

#6d48df is a balanced vivid blue, closest to Slate Blue (ΔE2000 5.3). It sits at 255° on the hue wheel with 70% saturation and 58% lightness, which reads as cool.

What is the RGB value of #6d48df?

rgb(109, 72, 223) — 109 red, 72 green and 223 blue out of 255, or 42.7% / 28.2% / 87.5% by channel.

Is #6d48df a light or a dark color?

It is a dark color. Relative luminance is 0.1321 and perceived brightness is 43%, so white text on it reaches 5.76:1.

Should I use black or white text on #6d48df?

White. It scores 5.76:1 against #6d48df, versus 3.64:1 for black — AA at any size.

What is the complementary color of #6d48df?

#BADF48 sits directly opposite on the wheel. Softer options are the split-complements #DFB848 and #6EDF48, which give the same contrast with far less vibration.

What colors go well with #6d48df?

For interface work: #F6F4FA as the surface, #CBC0ED for borders, #5E4B9B for secondary text, #B1B01B as an accent and #29136D for hover and pressed states. For a palette, the analogous pair #486EDF and #B848DF stays calm, while #BADF48 is the loudest partner.

What is #6d48df in CMYK for printing?

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

Is #6d48df 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 #A448DF; nudged cooler, #4659E1.

Work with #6d48df in the Color Lab