HSL(302, 14%, 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(302,14%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 14%, 34%) | color: hsl(302, 14%, 34%) | |
| HEX | #634B62 | color: #634B62 | |
| RGB | rgb(99, 75, 98) | color: rgb(99, 75, 98) | |
| CMYK | cmyk(0%, 24%, 1%, 61%) | — | |
| HSV | hsv(303, 24%, 39%) | — | |
| HWB | hwb(303 30% 61%) | color: hwb(303 30% 61%) | |
| OKLCH | oklch(0.4465 0.0478 327.7) | color: oklch(0.4465 0.0478 327.7) | |
| Lab | lab(35.14 14.57 -9.52) | color: lab(35.14 14.57 -9.52) | |
| LCH | lch(35.14 17.4 326.84) | color: lch(35.14 17.4 326.84) |
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)
#59585C — rgb(89, 88, 92)
Deuteranopia (Green-blind)
#5A5C5B — rgb(90, 92, 91)
Tritanopia (Blue-blind)
#625857 — rgb(98, 88, 87)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 14%, 34%);
text
color: hsl(302, 14%, 34%);
border
border: 2px solid hsl(302, 14%, 34%);
gradient light
background: linear-gradient(to right, hsl(302, 14%, 54%), hsl(302, 14%, 34%));
gradient dark
background: linear-gradient(to right, hsl(302, 14%, 34%), hsl(302, 14%, 14%))
hex
background-color: #634B62;
tailwind
bg-[hsl(302,14%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 14%, 34%, 0.4);
css variable
--color-primary: hsl(302, 14%, 34%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 14%, 34%)?
HEX: #634B62 | RGB: rgb(99, 75, 98) | CMYK: 0%, 24%, 1%, 61% | HSV: 303°, 24%, 39%. Copy any format from the conversion table above.
What colors go well with #634B62?
The complementary color is HSL(122, 14%, 34%). For a triadic harmony, use hues 302°, 62°, and 182°. For analogous combinations, try hues 272° and 332°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(302, 14%, 34%) in CSS?
As HSL: color: hsl(302, 14%, 34%); — As HEX: color: #634B62; — As RGB: color: rgb(99, 75, 98); — Tailwind CSS: bg-[hsl(302,14%,34%)] — CSS variable: --color-primary: hsl(302, 14%, 34%);