HSL(309, 70%, 25%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(309,70%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(309, 70%, 25%) | color: hsl(309, 70%, 25%) | |
| HEX | #6C135F | color: #6C135F | |
| RGB | rgb(108, 19, 95) | color: rgb(108, 19, 95) | |
| CMYK | cmyk(0%, 82%, 12%, 58%) | — | |
| HSV | hsv(309, 82%, 42%) | — | |
| HWB | hwb(309 8% 58%) | color: hwb(309 8% 58%) | |
| OKLCH | oklch(0.3748 0.1477 335.03) | color: oklch(0.3748 0.1477 335.03) | |
| Lab | lab(25.2 45.85 -22.79) | color: lab(25.2 45.85 -22.79) | |
| LCH | lch(25.2 51.2 333.57) | color: lch(25.2 51.2 333.57) |
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)
#45454D — rgb(69, 69, 77)
Deuteranopia (Green-blind)
#4B5148 — rgb(75, 81, 72)
Tritanopia (Blue-blind)
#683E3B — rgb(104, 62, 59)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(309, 70%, 25%);
text
color: hsl(309, 70%, 25%);
border
border: 2px solid hsl(309, 70%, 25%);
gradient light
background: linear-gradient(to right, hsl(309, 70%, 45%), hsl(309, 70%, 25%));
gradient dark
background: linear-gradient(to right, hsl(309, 70%, 25%), hsl(309, 70%, 5%))
hex
background-color: #6C135F;
tailwind
bg-[hsl(309,70%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(309, 70%, 25%, 0.4);
css variable
--color-primary: hsl(309, 70%, 25%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(309, 70%, 25%)?
HEX: #6C135F | RGB: rgb(108, 19, 95) | CMYK: 0%, 82%, 12%, 58% | HSV: 309°, 82%, 42%. Copy any format from the conversion table above.
What colors go well with #6C135F?
The complementary color is HSL(129, 70%, 25%). For a triadic harmony, use hues 309°, 69°, and 189°. For analogous combinations, try hues 279° and 339°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(309, 70%, 25%) in CSS?
As HSL: color: hsl(309, 70%, 25%); — As HEX: color: #6C135F; — As RGB: color: rgb(108, 19, 95); — Tailwind CSS: bg-[hsl(309,70%,25%)] — CSS variable: --color-primary: hsl(309, 70%, 25%);