HSL(307, 15%, 26%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(307,15%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(307, 15%, 26%) | color: hsl(307, 15%, 26%) | |
| HEX | #4C384A | color: #4C384A | |
| RGB | rgb(76, 56, 74) | color: rgb(76, 56, 74) | |
| CMYK | cmyk(0%, 26%, 3%, 70%) | — | |
| HSV | hsv(306, 26%, 30%) | — | |
| HWB | hwb(306 22% 70%) | color: hwb(306 22% 70%) | |
| OKLCH | oklch(0.3698 0.0404 329.74) | color: oklch(0.3698 0.0404 329.74) | |
| Lab | lab(26.33 12.45 -7.59) | color: lab(26.33 12.45 -7.59) | |
| LCH | lch(26.33 14.58 328.63) | color: lch(26.33 14.58 328.63) |
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)
#434346 — rgb(67, 67, 70)
Deuteranopia (Green-blind)
#454645 — rgb(69, 70, 69)
Tritanopia (Blue-blind)
#4B4241 — rgb(75, 66, 65)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(307, 15%, 26%);
text
color: hsl(307, 15%, 26%);
border
border: 2px solid hsl(307, 15%, 26%);
gradient light
background: linear-gradient(to right, hsl(307, 15%, 46%), hsl(307, 15%, 26%));
gradient dark
background: linear-gradient(to right, hsl(307, 15%, 26%), hsl(307, 15%, 6%))
hex
background-color: #4C384A;
tailwind
bg-[hsl(307,15%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(307, 15%, 26%, 0.4);
css variable
--color-primary: hsl(307, 15%, 26%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(307, 15%, 26%)?
HEX: #4C384A | RGB: rgb(76, 56, 74) | CMYK: 0%, 26%, 3%, 70% | HSV: 306°, 26%, 30%. Copy any format from the conversion table above.
What colors go well with #4C384A?
The complementary color is HSL(127, 15%, 26%). For a triadic harmony, use hues 307°, 67°, and 187°. For analogous combinations, try hues 277° and 337°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(307, 15%, 26%) in CSS?
As HSL: color: hsl(307, 15%, 26%); — As HEX: color: #4C384A; — As RGB: color: rgb(76, 56, 74); — Tailwind CSS: bg-[hsl(307,15%,26%)] — CSS variable: --color-primary: hsl(307, 15%, 26%);