Royal Blue
#5B1AFF
PurpleColor Codes
All color formats for development
HEX
#5B1AFFRGB
rgb(91, 26, 255)HSL
hsl(257, 100%, 55%)OKLCH
oklch(0.503 0.288 281.3)CMYK
cmyk(64%, 90%, 0%, 0%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#4800FC
2#4000E0
3#3800C4
4#3000A8
5#28008C
6#200070
7#180054
8#100038
9#08001C
Tints
Lighter variations
1#6B30FF
2#7B47FF
3#8C5EFF
4#9C75FF
5#AD8CFF
6#BDA3FF
7#CEBAFF
8#DED1FF
9#EFE8FF
Tones
Muted variations
1#5F25F4
2#6430E8
3#693CDD
4#6E47D1
5#7353C6
6#785EBA
7#7D6AAF
8#8275A3
9#878198
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F4F0 #F4F0FF | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E5DB #E5DBFF | Light backgroundsTable row hoverSkeleton loading |
| 200 | CFBD #CFBDFF | Secondary backgroundsInput backgroundsDividers |
| 300 | AB8A #AB8AFF | BordersInactive statesPlaceholder text |
| 400 | 7F4D #7F4DFF | Disabled statesSecondary iconsMuted text |
| 500 | 5B1A #5B1AFF | Primary brand colorCTAsActive elementsLinks |
| 600 | 4000 #4000E0 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 3300 #3300B3 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 2400 #240080 | Text on light backgroundsHeadingsStrong borders |
| 900 | 1700 #170052 | Primary textHigh emphasis contentDark headings |
| 950 | 0E00 #0E0033 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F4F0FF;
--royal-blue-100: #E5DBFF;
--royal-blue-200: #CFBDFF;
--royal-blue-300: #AB8AFF;
--royal-blue-400: #7F4DFF;
--royal-blue-500: #5B1AFF;
--royal-blue-600: #4000E0;
--royal-blue-700: #3300B3;
--royal-blue-800: #240080;
--royal-blue-900: #170052;
--royal-blue-950: #0E0033;
}