Luminance
0.057
Category
Purple
Type
Dark
Best On
Color Codes
All color formats for your project
HEX
#531DAB531DABRGB
rgb(83, 29, 171)R:83 G:29 B:171HSL
hsl(263, 71%, 39%)H:263° S:71% L:39%HSV / HSB
hsv(263, 83%, 67%)H:263° S:83% V:67%CMYK
cmyk(51%, 83%, 0%, 33%)C:51 M:83 Y:0 K:33LAB
lab(29, 54, -65)L:29 a:54 b:-65OKLCH
oklch(40.9% 0.202 291.9)L:40.9% C:0.202 H:291.9°Code Formats
color: #531DAB;UIColor(red: 0.325, green: 0.114, blue: 0.671, alpha: 1.0)Color(0xFF531DAB)Color(0xFF531DAB)#FF531DABContrast Analysis
WCAG compliance with grayscale colors
On White
9.85:1
On Black
2.13:1
Grayscale Contrast
0%
2.1
Fail10%
1.8
Fail20%
1.3
Fail30%
1.2
Fail40%
1.7
Fail50%
2.5
Fail60%
3.5
AA-large70%
4.7
AA80%
6.1
AA90%
7.8
AAA100%
9.9
AAABest Grayscale Contrast
#FFFFFF with ratio 9.85: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, #854CE1 0%, #35126D 100%)linear-gradient(90deg, oklch(56.2% 0.214 296.4) 0%, oklch(30.2% 0.143 293.2) 100%)Vibrant
135°linear-gradient(135deg, #6411E8 0%, #4F04C8 100%)linear-gradient(135deg, oklch(48.2% 0.268 287.8) 0%, oklch(42.2% 0.243 285.6) 100%)Complementary
90°linear-gradient(90deg, #531DAB 0%, #74AA1D 100%)linear-gradient(90deg, oklch(40.9% 0.202 291.9) 0%, oklch(67.5% 0.171 129.5) 100%)Analogous
90°linear-gradient(90deg, #1D2DAA 0%, #531DAB 50%, #9A1DAA 100%)linear-gradient(90deg, oklch(38.6% 0.196 268.3) 0%, oklch(40.9% 0.202 291.9) 50%, oklch(50.3% 0.218 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, #531DAA 0%, #1C122B 100%)linear-gradient(180deg, oklch(40.8% 0.201 292.1) 0%, oklch(20.9% 0.049 300.7) 100%)Radial Glow
Radialradial-gradient(circle, #7636DD 0%, #401683 100%)radial-gradient(circle, oklch(51.7% 0.233 294.0) 0%, oklch(34.1% 0.164 292.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.