HSL(288, 63%, 16%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(288,63%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(288, 63%, 16%) | color: hsl(288, 63%, 16%) | |
| HEX | #380F43 | color: #380F43 | |
| RGB | rgb(56, 15, 67) | color: rgb(56, 15, 67) | |
| CMYK | cmyk(16%, 78%, 0%, 74%) | — | |
| HSV | hsv(287, 78%, 26%) | — | |
| HWB | hwb(287 6% 74%) | color: hwb(287 6% 74%) | |
| OKLCH | oklch(0.264 0.0992 318.32) | color: oklch(0.264 0.0992 318.32) | |
| Lab | lab(13.16 29.02 -23.52) | color: lab(13.16 29.02 -23.52) | |
| LCH | lch(13.16 37.35 320.98) | color: lch(13.16 37.35 320.98) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#262636 — rgb(38, 38, 54)
Deuteranopia (Green-blind)
#292C33 — rgb(41, 44, 51)
Tritanopia (Blue-blind)
#362C2A — rgb(54, 44, 42)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(288, 63%, 16%);
text
color: hsl(288, 63%, 16%);
border
border: 2px solid hsl(288, 63%, 16%);
gradient light
background: linear-gradient(to right, hsl(288, 63%, 36%), hsl(288, 63%, 16%));
gradient dark
background: linear-gradient(to right, hsl(288, 63%, 16%), hsl(288, 63%, 0%))
hex
background-color: #380F43;
tailwind
bg-[hsl(288,63%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(288, 63%, 16%, 0.4);
css variable
--color-primary: hsl(288, 63%, 16%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(288, 63%, 16%)?
HEX: #380F43 | RGB: rgb(56, 15, 67) | CMYK: 16%, 78%, 0%, 74% | HSV: 287°, 78%, 26%. Copy any format from the conversion table above.
What colors go well with #380F43?
The complementary color is HSL(108, 63%, 16%). For a triadic harmony, use hues 288°, 48°, and 168°. For analogous combinations, try hues 258° and 318°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(288, 63%, 16%) in CSS?
As HSL: color: hsl(288, 63%, 16%); — As HEX: color: #380F43; — As RGB: color: rgb(56, 15, 67); — Tailwind CSS: bg-[hsl(288,63%,16%)] — CSS variable: --color-primary: hsl(288, 63%, 16%);