Skip to content

#6f26df

a balanced, vivid violet · warm · closest name: blue

RGB
111, 38, 223
HSL
264°, 74%, 51%
CMYK
50, 83, 0, 13
Luminance
0.1009

Every format

HEX#6f26df
RGBrgb(111, 38, 223)
HSLhsl(264, 74%, 51%)
CMYKcmyk(50%, 83%, 0%, 13%)
LABlab(38.0 67.4 -80.0)
LCHlch(38.0 104.6 310.1)
OKLCHoklch(0.497 0.249 292.4)

Copy-ready code

/* CSS */
color: #6f26df;
background-color: #6f26df;
/* Tailwind (arbitrary) */
class="text-[#6f26df] bg-[#6f26df]"
/* SCSS */
$brand: #6f26df;
/* SwiftUI */
Color(red: 0.435, green: 0.149, blue: 0.875)
/* Android */
Color.parseColor("#6f26df")

Accessibility — WCAG contrast

Aa
#6f26df on white: 6.96:1
AA ✓ pass · AA-large · AAA
Aa
#6f26df on black: 3.02:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red43.5%
Green14.9%
Blue87.5%

CMYK percentages

Cyan50.2%
Magenta83.0%
Yellow0.0%
Key (black)12.5%

Color previews

#6f26df text on a black background

contrast 3.02:1

Card sample

#6f26df text on a white background

contrast 6.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #6f26df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #6f26df in the Color Lab