HSL(299, 30%, 34%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(299,30%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(299, 30%, 34%) | color: hsl(299, 30%, 34%) | |
| HEX | #703D71 | color: #703D71 | |
| RGB | rgb(112, 61, 113) | color: rgb(112, 61, 113) | |
| CMYK | cmyk(1%, 46%, 0%, 56%) | — | |
| HSV | hsv(299, 46%, 44%) | — | |
| HWB | hwb(299 24% 56%) | color: hwb(299 24% 56%) | |
| OKLCH | oklch(0.4431 0.1024 326.44) | color: oklch(0.4431 0.1024 326.44) | |
| Lab | lab(33.93 30.86 -20.67) | color: lab(33.93 30.86 -20.67) | |
| LCH | lch(33.93 37.14 326.19) | color: lch(33.93 37.14 326.19) |
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)
#5A5964 — rgb(90, 89, 100)
Deuteranopia (Green-blind)
#5D6161 — rgb(93, 97, 97)
Tritanopia (Blue-blind)
#6D5A58 — rgb(109, 90, 88)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(299, 30%, 34%);
text
color: hsl(299, 30%, 34%);
border
border: 2px solid hsl(299, 30%, 34%);
gradient light
background: linear-gradient(to right, hsl(299, 30%, 54%), hsl(299, 30%, 34%));
gradient dark
background: linear-gradient(to right, hsl(299, 30%, 34%), hsl(299, 30%, 14%))
hex
background-color: #703D71;
tailwind
bg-[hsl(299,30%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(299, 30%, 34%, 0.4);
css variable
--color-primary: hsl(299, 30%, 34%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(299, 30%, 34%)?
HEX: #703D71 | RGB: rgb(112, 61, 113) | CMYK: 1%, 46%, 0%, 56% | HSV: 299°, 46%, 44%. Copy any format from the conversion table above.
What colors go well with #703D71?
The complementary color is HSL(119, 30%, 34%). For a triadic harmony, use hues 299°, 59°, and 179°. For analogous combinations, try hues 269° and 329°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(299, 30%, 34%) in CSS?
As HSL: color: hsl(299, 30%, 34%); — As HEX: color: #703D71; — As RGB: color: rgb(112, 61, 113); — Tailwind CSS: bg-[hsl(299,30%,34%)] — CSS variable: --color-primary: hsl(299, 30%, 34%);