Luminance
0.067
Category
Purple
Type
Dark
Best On
Color Codes
All color formats for your project
HEX
#5B21B65B21B6RGB
rgb(91, 33, 182)R:91 G:33 B:182HSL
hsl(263, 69%, 42%)H:263° S:69% L:42%HSV / HSB
hsv(263, 82%, 71%)H:263° S:82% V:71%CMYK
cmyk(50%, 82%, 0%, 29%)C:50 M:82 Y:0 K:29LAB
lab(31, 57, -68)L:31 a:57 b:-68OKLCH
oklch(43.2% 0.211 292.8)L:43.2% C:0.211 H:292.8°Code Formats
color: #5B21B6;UIColor(red: 0.357, green: 0.129, blue: 0.714, alpha: 1.0)Color(0xFF5B21B6)Color(0xFF5B21B6)#FF5B21B6Contrast Analysis
WCAG compliance with grayscale colors
On White
8.98:1
On Black
2.34:1
Grayscale Contrast
0%
2.3
Fail10%
1.9
Fail20%
1.4
Fail30%
1.1
Fail40%
1.6
Fail50%
2.2
Fail60%
3.2
AA-large70%
4.3
AA-large80%
5.6
AA90%
7.1
AAA100%
9.0
AAABest Grayscale Contrast
#FFFFFF with ratio 8.98: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, #8E5BE1 0%, #35146C 100%)linear-gradient(90deg, oklch(59.2% 0.196 297.7) 0%, oklch(30.3% 0.140 293.1) 100%)Vibrant
135°linear-gradient(135deg, #6D1EEB 0%, #5006C6 100%)linear-gradient(135deg, oklch(50.1% 0.265 290.0) 0%, oklch(42.1% 0.241 286.3) 100%)Complementary
90°linear-gradient(90deg, #5B21B6 0%, #7CB521 100%)linear-gradient(90deg, oklch(43.2% 0.211 292.8) 0%, oklch(70.7% 0.178 129.5) 100%)Analogous
90°linear-gradient(90deg, #2132B5 0%, #5B21B6 50%, #A421B5 100%)linear-gradient(90deg, oklch(40.7% 0.203 268.5) 0%, oklch(43.2% 0.211 292.8) 50%, oklch(52.8% 0.227 322.7) 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, #5A21B5 0%, #1C132B 100%)linear-gradient(180deg, oklch(43.0% 0.210 292.5) 0%, oklch(21.2% 0.047 299.7) 100%)Radial Glow
Radialradial-gradient(circle, #8046DD 0%, #401881 100%)radial-gradient(circle, oklch(54.6% 0.217 296.0) 0%, oklch(34.1% 0.160 293.1) 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.