RGB to HSL Converter
Convert RGB color to HSL online for free — paste rgb(255,128,0) and get hsl() values plus HEX and contrast ratios. No upload.
| HEX | #3F51B5 |
|---|---|
| RGB | rgb(63, 81, 181) |
| HSL | hsl(231, 48%, 48%) |
| Contrast vs black | 3.06:1AA large |
| Contrast vs white | 6.87:1AA |
About RGB to HSL Converter
Paste an rgb() value like rgb(255,128,0) and get the hsl(30,100%,50%) equivalent instantly — plus the hex code, a live swatch and WCAG contrast ratios against black and white.
HSL makes it easy to derive lighter and darker shades of a color. Everything converts locally in your browser — no upload.