HSL(297, 30%, 35%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(297,30%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(297, 30%, 35%) | color: hsl(297, 30%, 35%) | |
| HEX | #713E74 | color: #713E74 | |
| RGB | rgb(113, 62, 116) | color: rgb(113, 62, 116) | |
| CMYK | cmyk(3%, 47%, 0%, 55%) | — | |
| HSV | hsv(297, 47%, 45%) | — | |
| HWB | hwb(297 24% 55%) | color: hwb(297 24% 55%) | |
| OKLCH | oklch(0.4475 0.1044 325.11) | color: oklch(0.4475 0.1044 325.11) | |
| Lab | lab(34.43 31.24 -21.77) | color: lab(34.43 31.24 -21.77) | |
| LCH | lch(34.43 38.08 325.13) | color: lch(34.43 38.08 325.13) |
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)
#5B5A67 — rgb(91, 90, 103)
Deuteranopia (Green-blind)
#5E6264 — rgb(94, 98, 100)
Tritanopia (Blue-blind)
#6E5D5A — rgb(110, 93, 90)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(297, 30%, 35%);
text
color: hsl(297, 30%, 35%);
border
border: 2px solid hsl(297, 30%, 35%);
gradient light
background: linear-gradient(to right, hsl(297, 30%, 55%), hsl(297, 30%, 35%));
gradient dark
background: linear-gradient(to right, hsl(297, 30%, 35%), hsl(297, 30%, 15%))
hex
background-color: #713E74;
tailwind
bg-[hsl(297,30%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(297, 30%, 35%, 0.4);
css variable
--color-primary: hsl(297, 30%, 35%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(297, 30%, 35%)?
HEX: #713E74 | RGB: rgb(113, 62, 116) | CMYK: 3%, 47%, 0%, 55% | HSV: 297°, 47%, 45%. Copy any format from the conversion table above.
What colors go well with #713E74?
The complementary color is HSL(117, 30%, 35%). For a triadic harmony, use hues 297°, 57°, and 177°. For analogous combinations, try hues 267° and 327°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(297, 30%, 35%) in CSS?
As HSL: color: hsl(297, 30%, 35%); — As HEX: color: #713E74; — As RGB: color: rgb(113, 62, 116); — Tailwind CSS: bg-[hsl(297,30%,35%)] — CSS variable: --color-primary: hsl(297, 30%, 35%);