HSL(311, 46%, 28%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(311,46%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(311, 46%, 28%) | color: hsl(311, 46%, 28%) | |
| HEX | #68275C | color: #68275C | |
| RGB | rgb(104, 39, 92) | color: rgb(104, 39, 92) | |
| CMYK | cmyk(0%, 63%, 12%, 59%) | — | |
| HSV | hsv(311, 63%, 41%) | — | |
| HWB | hwb(311 15% 59%) | color: hwb(311 15% 59%) | |
| OKLCH | oklch(0.3875 0.1157 335.39) | color: oklch(0.3875 0.1157 335.39) | |
| Lab | lab(27.21 36.18 -17.74) | color: lab(27.21 36.18 -17.74) | |
| LCH | lch(27.21 40.3 333.88) | color: lch(27.21 40.3 333.88) |
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)
#4C4B4F — rgb(76, 75, 79)
Deuteranopia (Green-blind)
#50554C — rgb(80, 85, 76)
Tritanopia (Blue-blind)
#654543 — rgb(101, 69, 67)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(311, 46%, 28%);
text
color: hsl(311, 46%, 28%);
border
border: 2px solid hsl(311, 46%, 28%);
gradient light
background: linear-gradient(to right, hsl(311, 46%, 48%), hsl(311, 46%, 28%));
gradient dark
background: linear-gradient(to right, hsl(311, 46%, 28%), hsl(311, 46%, 8%))
hex
background-color: #68275C;
tailwind
bg-[hsl(311,46%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(311, 46%, 28%, 0.4);
css variable
--color-primary: hsl(311, 46%, 28%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(311, 46%, 28%)?
HEX: #68275C | RGB: rgb(104, 39, 92) | CMYK: 0%, 63%, 12%, 59% | HSV: 311°, 63%, 41%. Copy any format from the conversion table above.
What colors go well with #68275C?
The complementary color is HSL(131, 46%, 28%). For a triadic harmony, use hues 311°, 71°, and 191°. For analogous combinations, try hues 281° and 341°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(311, 46%, 28%) in CSS?
As HSL: color: hsl(311, 46%, 28%); — As HEX: color: #68275C; — As RGB: color: rgb(104, 39, 92); — Tailwind CSS: bg-[hsl(311,46%,28%)] — CSS variable: --color-primary: hsl(311, 46%, 28%);