Luminance
0.093
Category
Purple
Type
Dark
Best On
Color Codes
All color formats for your project
HEX
#5F4B8B5F4B8BRGB
rgb(95, 75, 139)R:95 G:75 B:139HSL
hsl(259, 30%, 42%)H:259° S:30% L:42%HSV / HSB
hsv(259, 46%, 55%)H:259° S:46% V:55%CMYK
cmyk(32%, 46%, 0%, 45%)C:32 M:46 Y:0 K:45LAB
lab(37, 23, -33)L:37 a:23 b:-33OKLCH
oklch(46.3% 0.103 296.6)L:46.3% C:0.103 H:296.6°Code Formats
color: #5F4B8B;UIColor(red: 0.373, green: 0.294, blue: 0.545, alpha: 1.0)Color(0xFF5F4B8B)Color(0xFF5F4B8B)#FF5F4B8BContrast Analysis
WCAG compliance with grayscale colors
On White
7.33:1
On Black
2.87:1
Grayscale Contrast
0%
2.9
Fail10%
2.4
Fail20%
1.7
Fail30%
1.2
Fail40%
1.3
Fail50%
1.8
Fail60%
2.6
Fail70%
3.5
AA-large80%
4.6
AA90%
5.8
AA100%
7.3
AAABest Grayscale Contrast
#FFFFFF with ratio 7.33: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, #9381BB 0%, #392D53 100%)linear-gradient(90deg, oklch(64.1% 0.087 298.2) 0%, oklch(32.9% 0.067 297.1) 100%)Vibrant
135°linear-gradient(135deg, #704EBC 0%, #512E9E 100%)linear-gradient(135deg, oklch(51.7% 0.166 294.1) 0%, oklch(41.4% 0.170 291.5) 100%)Complementary
90°linear-gradient(90deg, #5F4B8B 0%, #778B4B 100%)linear-gradient(90deg, oklch(46.3% 0.103 296.6) 0%, oklch(60.5% 0.092 123.4) 100%)Analogous
90°linear-gradient(90deg, #4B578B 0%, #5F4B8B 50%, #7F4B8B 100%)linear-gradient(90deg, oklch(47.0% 0.086 272.9) 0%, oklch(46.3% 0.103 296.6) 50%, oklch(49.9% 0.114 319.9) 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, #5F4B8B 0%, #1C1825 100%)linear-gradient(180deg, oklch(46.3% 0.103 296.6) 0%, oklch(22.0% 0.026 298.4) 100%)Radial Glow
Radialradial-gradient(circle, #8570B2 0%, #443663 100%)radial-gradient(circle, oklch(59.2% 0.101 297.9) 0%, oklch(37.0% 0.077 296.8) 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.