Gradient Page

#6B3FA0

#6B3FA0 is the HEX color code for
Royal Purple
#6B3FA0

Royal Purple

Contrast
Dark
Luminance
34%
Color Conversions
Formats for Royal Purple (#6B3FA0) in various color spaces.
#6B3FA0
107, 63, 160
267°, 43%, 44%
33%, 61%, 0%, 37%
0.469, 0.152, 301.7
--color-royal-purple: #6B3FA0;

Shades & Tints

#f2edf8
#d7c8e9
#bda4db
#a27fcc
#875bbe
#6e41a4
#553380
#3d245b
#251637
#0c0712
DarkestBaseLightest

Color Harmonies

Complementary

#6B3FA0
#75a040

Analogous

#4045a0
#6B3FA0
#9c40a0

Triadic

#6B3FA0
#a06b40
#40a06b

Split Complementary

#6B3FA0
#a09c40
#45a040

UI Component Examples

See how #6B3FA0 looks when applied to real interface components.

Interactive Elements
Surface & Accent
Pro Tip!

Use lighter tints for backgrounds to maintain readability while keeping brand identity.

Status Indicator
Active
# CSS Variables
Copy-paste these variables into your global CSS to use this palette instantly.
:root {
  /* Royal Purple Base */
  --color-primary: #6B3FA0;
  --color-primary-rgb: 107 63 160;
  --color-primary-hsl: 267 43% 44%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #f2edf8;
  --color-primary-100: #d7c8e9;
  --color-primary-200: #bda4db;
  --color-primary-300: #a27fcc;
  --color-primary-400: #875bbe;
  --color-primary-500: #6e41a4;
  --color-primary-600: #553380;
  --color-primary-700: #3d245b;
  --color-primary-800: #251637;
  --color-primary-900: #0c0712;
}

Want more?

We hope you enjoyed this color. Keep reading for more amazing colorful content for developers, designers and creators!
View our entire collection of UI gradientsView all our color names
#6B3FA0 Hex Color | Royal Purple sl | UI Color Scheme Generator