HSL(288, 40%, 35%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(288,40%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(288, 40%, 35%) | color: hsl(288, 40%, 35%) | |
| HEX | #6F367D | color: #6F367D | |
| RGB | rgb(111, 54, 125) | color: rgb(111, 54, 125) | |
| CMYK | cmyk(11%, 57%, 0%, 51%) | — | |
| HSV | hsv(288, 57%, 49%) | — | |
| HWB | hwb(288 21% 51%) | color: hwb(288 21% 51%) | |
| OKLCH | oklch(0.4373 0.1272 319.39) | color: oklch(0.4373 0.1272 319.39) | |
| Lab | lab(32.92 36.99 -29.79) | color: lab(32.92 36.99 -29.79) | |
| LCH | lch(32.92 47.49 321.15) | color: lch(32.92 47.49 321.15) |
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)
#56566C — rgb(86, 86, 108)
Deuteranopia (Green-blind)
#5A5E68 — rgb(90, 94, 104)
Tritanopia (Blue-blind)
#6C5E5B — rgb(108, 94, 91)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(288, 40%, 35%);
text
color: hsl(288, 40%, 35%);
border
border: 2px solid hsl(288, 40%, 35%);
gradient light
background: linear-gradient(to right, hsl(288, 40%, 55%), hsl(288, 40%, 35%));
gradient dark
background: linear-gradient(to right, hsl(288, 40%, 35%), hsl(288, 40%, 15%))
hex
background-color: #6F367D;
tailwind
bg-[hsl(288,40%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(288, 40%, 35%, 0.4);
css variable
--color-primary: hsl(288, 40%, 35%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(288, 40%, 35%)?
HEX: #6F367D | RGB: rgb(111, 54, 125) | CMYK: 11%, 57%, 0%, 51% | HSV: 288°, 57%, 49%. Copy any format from the conversion table above.
What colors go well with #6F367D?
The complementary color is HSL(108, 40%, 35%). 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, 40%, 35%) in CSS?
As HSL: color: hsl(288, 40%, 35%); — As HEX: color: #6F367D; — As RGB: color: rgb(111, 54, 125); — Tailwind CSS: bg-[hsl(288,40%,35%)] — CSS variable: --color-primary: hsl(288, 40%, 35%);