HSL(303, 10%, 34%)
Grayish Purple — Purple color
Adjust Color
Color Information
Color Name
Grayish Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(303,10%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(303, 10%, 34%) | color: hsl(303, 10%, 34%) | |
| HEX | #5F4E5F | color: #5F4E5F | |
| RGB | rgb(95, 78, 95) | color: rgb(95, 78, 95) | |
| CMYK | cmyk(0%, 18%, 0%, 63%) | — | |
| HSV | hsv(300, 18%, 37%) | — | |
| HWB | hwb(300 30% 63%) | color: hwb(300 30% 63%) | |
| OKLCH | oklch(0.4473 0.0348 326.14) | color: oklch(0.4473 0.0348 326.14) | |
| Lab | lab(35.42 10.49 -7.25) | color: lab(35.42 10.49 -7.25) | |
| LCH | lch(35.42 12.75 325.35) | color: lch(35.42 12.75 325.35) |
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)
#58575B — rgb(88, 87, 91)
Deuteranopia (Green-blind)
#595A5A — rgb(89, 90, 90)
Tritanopia (Blue-blind)
#5E5857 — rgb(94, 88, 87)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(303, 10%, 34%);
text
color: hsl(303, 10%, 34%);
border
border: 2px solid hsl(303, 10%, 34%);
gradient light
background: linear-gradient(to right, hsl(303, 10%, 54%), hsl(303, 10%, 34%));
gradient dark
background: linear-gradient(to right, hsl(303, 10%, 34%), hsl(303, 10%, 14%))
hex
background-color: #5F4E5F;
tailwind
bg-[hsl(303,10%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(303, 10%, 34%, 0.4);
css variable
--color-primary: hsl(303, 10%, 34%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(303, 10%, 34%)?
HEX: #5F4E5F | RGB: rgb(95, 78, 95) | CMYK: 0%, 18%, 0%, 63% | HSV: 300°, 18%, 37%. Copy any format from the conversion table above.
What colors go well with #5F4E5F?
The complementary color is HSL(123, 10%, 34%). For a triadic harmony, use hues 303°, 63°, and 183°. For analogous combinations, try hues 273° and 333°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(303, 10%, 34%) in CSS?
As HSL: color: hsl(303, 10%, 34%); — As HEX: color: #5F4E5F; — As RGB: color: rgb(95, 78, 95); — Tailwind CSS: bg-[hsl(303,10%,34%)] — CSS variable: --color-primary: hsl(303, 10%, 34%);