Luminance
0.070
Category
Purple
Type
Dark
Best On
Color Codes
All color formats for your project
HEX
#6B21A86B21A8RGB
rgb(107, 33, 168)R:107 G:33 B:168HSL
hsl(273, 67%, 39%)H:273° S:67% L:39%HSV / HSB
hsv(273, 80%, 66%)H:273° S:80% V:66%CMYK
cmyk(36%, 80%, 0%, 34%)C:36 M:80 Y:0 K:34LAB
lab(32, 56, -58)L:32 a:56 b:-58OKLCH
oklch(43.8% 0.198 303.7)L:43.8% C:0.198 H:303.7°Code Formats
color: #6B21A8;UIColor(red: 0.420, green: 0.129, blue: 0.659, alpha: 1.0)Color(0xFF6B21A8)Color(0xFF6B21A8)#FF6B21A8Contrast Analysis
WCAG compliance with grayscale colors
On White
8.72:1
On Black
2.41:1
Grayscale Contrast
0%
2.4
Fail10%
2.0
Fail20%
1.4
Fail30%
1.0
Fail40%
1.5
Fail50%
2.2
Fail60%
3.1
AA-large70%
4.2
AA-large80%
5.4
AA90%
6.9
AA100%
8.7
AAABest Grayscale Contrast
#FFFFFF with ratio 8.72:1
Color Harmonies
Harmonious color combinations
complementary
Two colors opposite on the color wheel (180°)
split-complementary
Base color + two colors adjacent to its complement
triadic
Three colors evenly spaced (120° apart)
tetradic
Four colors evenly spaced (90° apart)
analogous
Three colors adjacent on the color wheel (30° apart)
Color Variations
Tints, shades, tones, and full scale
Color Scale (50-900)
50
100
200
300
400
500
600
700
800
900
Tints (Lighter)
Shades (Darker)
Tones (Desaturated)
Gradients (OKLCH)
Primary
90°linear-gradient(90deg, #9D50DC 0%, #44156A 100%)linear-gradient(90deg, oklch(59.0% 0.208 306.3) 0%, oklch(32.1% 0.138 304.7) 100%)Vibrant
135°linear-gradient(135deg, #8716E3 0%, #6F08C4 100%)linear-gradient(135deg, oklch(51.8% 0.264 301.2) 0%, oklch(45.5% 0.239 299.5) 100%)Complementary
90°linear-gradient(90deg, #6B21A8 0%, #5DA621 100%)linear-gradient(90deg, oklch(43.8% 0.198 303.7) 0%, oklch(65.3% 0.176 134.8) 100%)Analogous
90°linear-gradient(90deg, #2721A6 0%, #6B21A8 50%, #A6219F 100%)linear-gradient(90deg, oklch(37.0% 0.200 272.7) 0%, oklch(43.8% 0.198 303.7) 50%, oklch(51.7% 0.212 330.6) 100%)Sunset
90°linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)Ocean
135°linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)Dark Mode
180°linear-gradient(180deg, #6A21A6 0%, #20132A 100%)linear-gradient(180deg, oklch(43.5% 0.196 303.8) 0%, oklch(21.6% 0.047 309.0) 100%)Radial Glow
Radialradial-gradient(circle, #923BD8 0%, #521980 100%)radial-gradient(circle, oklch(55.0% 0.227 305.2) 0%, oklch(36.4% 0.161 304.4) 100%)💡 About OKLCH Gradients
OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).
Generate Full Palette
Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.