HSL(310, 52%, 29%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(310,52%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(310, 52%, 29%) | color: hsl(310, 52%, 29%) | |
| HEX | #702364 | color: #702364 | |
| RGB | rgb(112, 35, 100) | color: rgb(112, 35, 100) | |
| CMYK | cmyk(0%, 69%, 11%, 56%) | — | |
| HSV | hsv(309, 69%, 44%) | — | |
| HWB | hwb(309 14% 56%) | color: hwb(309 14% 56%) | |
| OKLCH | oklch(0.3994 0.1344 334.57) | color: oklch(0.3994 0.1344 334.57) | |
| Lab | lab(28.29 41.79 -21.15) | color: lab(28.29 41.79 -21.15) | |
| LCH | lch(28.29 46.84 333.16) | color: lch(28.29 46.84 333.16) |
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)
#4F4E54 — rgb(79, 78, 84)
Deuteranopia (Green-blind)
#535951 — rgb(83, 89, 81)
Tritanopia (Blue-blind)
#6C4845 — rgb(108, 72, 69)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(310, 52%, 29%);
text
color: hsl(310, 52%, 29%);
border
border: 2px solid hsl(310, 52%, 29%);
gradient light
background: linear-gradient(to right, hsl(310, 52%, 49%), hsl(310, 52%, 29%));
gradient dark
background: linear-gradient(to right, hsl(310, 52%, 29%), hsl(310, 52%, 9%))
hex
background-color: #702364;
tailwind
bg-[hsl(310,52%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(310, 52%, 29%, 0.4);
css variable
--color-primary: hsl(310, 52%, 29%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(310, 52%, 29%)?
HEX: #702364 | RGB: rgb(112, 35, 100) | CMYK: 0%, 69%, 11%, 56% | HSV: 309°, 69%, 44%. Copy any format from the conversion table above.
What colors go well with #702364?
The complementary color is HSL(130, 52%, 29%). For a triadic harmony, use hues 310°, 70°, and 190°. For analogous combinations, try hues 280° and 340°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(310, 52%, 29%) in CSS?
As HSL: color: hsl(310, 52%, 29%); — As HEX: color: #702364; — As RGB: color: rgb(112, 35, 100); — Tailwind CSS: bg-[hsl(310,52%,29%)] — CSS variable: --color-primary: hsl(310, 52%, 29%);