Skip to content

#6f57ab

a balanced, soft violet · cool · closest name: Slate Blue

RGB
111, 87, 171
HSL
257°, 33%, 51%
CMYK
35, 49, 0, 33
Luminance
0.1314

At a glance

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

Hex
#6f57ab
Hue
257°
violet
Saturation
33%
soft
Lightness
51%
balanced
Brightness
67%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1314
WCAG relative
Temperature
Cool
73/100 cool
Color family
Violet
Tone
Soft
Best ink
White
5.79:1
Closest name
Slate Blue
ΔE2000 6.1
Where it sits
Hue257° of 360°
Saturation33%
Lightness51%
Temperature
Warm ← → Cool73% 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#6f57ab
RGBrgb(111, 87, 171)
HSLhsl(257, 33%, 51%)
CMYKcmyk(35%, 49%, 0%, 33%)
LABlab(43.0 29.3 -41.7)
LCHlch(43.0 51.0 305.0)
OKLCHoklch(0.520 0.130 294.6)
Decimal7296939
Display P3color(display-p3 0.435 0.341 0.671)

Copy-ready code

/* CSS */
color: #6f57ab;
background-color: #6f57ab;
/* Tailwind (arbitrary) */
class="text-[#6f57ab] bg-[#6f57ab]"
/* SCSS */
$brand: #6f57ab;
/* SwiftUI */
Color(red: 0.435, green: 0.341, blue: 0.671)
/* Android */
Color.parseColor("#6f57ab")
/* Flutter */
Color(0xFF6F57AB)
/* Python / OpenCV (BGR) */
(171, 87, 111)

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

Accessibility — WCAG contrast

Aa
#6f57ab on white: 5.79:1
AA ✓ pass · AA-large · AAA
Aa
#6f57ab on black: 3.63:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3966AE
deuteranopia · #3E64A9
tritanopia · #616779

Color scale — 50 to 950

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

#F6F5F9
#EEECF4
#DAD4E8
#BFB4DA
#9F8FC7
#7F69B4
#6f57ab
#574488
#46366D
#352A50
#211B32
Base = 600Lightest = 50 · #F6F5F9Darkest = 950 · #211B32
:root {
  --brand-50: #F6F5F9;
  --brand-100: #EEECF4;
  --brand-200: #DAD4E8;
  --brand-300: #BFB4DA;
  --brand-400: #9F8FC7;
  --brand-500: #7F69B4;
  --brand-600: #6f57ab;
  --brand-700: #574488;
  --brand-800: #46366D;
  --brand-900: #352A50;
  --brand-950: #211B32;
  --brand: #6f57ab;
  --brand-ink: #ffffff;
}

Colors that work with #6f57ab

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#F6F5FA
Tinted page background
Border#D0C9E4
Hairlines and dividers
Muted text#624D99
Captions on the surface
Accent#8A8C40
Second voice, not a rival
Dark variant#372B55
Hover, pressed, headers
Light variant#F0EEF6
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 #6f57ab

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • 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#93AB57
Analogous left#5769AB
Analogous right#9957AB
Split-complement 1#AB9957
Split-complement 2#69AB57
Triadic 1#AB6F57
Triadic 2#57AB6F
Tetradic#AB5769

RGB percentages

Red43.5%
Green34.1%
Blue67.1%

CMYK percentages

Cyan35.1%
Magenta49.1%
Yellow0.0%
Key (black)32.9%

Color previews

#6f57ab text on a black background

contrast 3.63:1

Card sample

#6f57ab text on a white background

contrast 5.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(111, 87, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(111, 87, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6f57ab;
background: linear-gradient(135deg, #6f57ab, #A757AB);

Monochromatic scale

Palettes built from #6f57ab

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.

#6f57ab 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.

#6f57ab, answered

What color is #6f57ab?

#6f57ab is a balanced soft violet, closest to Slate Blue (ΔE2000 6.1). It sits at 257° on the hue wheel with 33% saturation and 51% lightness, which reads as cool.

What is the RGB value of #6f57ab?

rgb(111, 87, 171) — 111 red, 87 green and 171 blue out of 255, or 43.5% / 34.1% / 67.1% by channel.

Is #6f57ab a light or a dark color?

It is a dark color. Relative luminance is 0.1314 and perceived brightness is 42%, so white text on it reaches 5.79:1.

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

White. It scores 5.79:1 against #6f57ab, versus 3.63:1 for black — AA at any size.

What is the complementary color of #6f57ab?

#93AB57 sits directly opposite on the wheel. Softer options are the split-complements #AB9957 and #69AB57, which give the same contrast with far less vibration.

What colors go well with #6f57ab?

For interface work: #F6F5FA as the surface, #D0C9E4 for borders, #624D99 for secondary text, #8A8C40 as an accent and #372B55 for hover and pressed states. For a palette, the analogous pair #5769AB and #9957AB stays calm, while #93AB57 is the loudest partner.

What is #6f57ab in CMYK for printing?

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

Is #6f57ab warm or cool?

Cool — it scores 73 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8E57AB; nudged cooler, #555CAD.

Work with #6f57ab in the Color Lab