HSL(306, 63%, 25%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(306,63%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(306, 63%, 25%) | color: hsl(306, 63%, 25%) | |
| HEX | #681860 | color: #681860 | |
| RGB | rgb(104, 24, 96) | color: rgb(104, 24, 96) | |
| CMYK | cmyk(0%, 77%, 8%, 59%) | — | |
| HSV | hsv(306, 77%, 41%) | — | |
| HWB | hwb(306 9% 59%) | color: hwb(306 9% 59%) | |
| OKLCH | oklch(0.3727 0.1407 332.45) | color: oklch(0.3727 0.1407 332.45) | |
| Lab | lab(25.08 43.38 -23.69) | color: lab(25.08 43.38 -23.69) | |
| LCH | lch(25.08 49.43 331.36) | color: lch(25.08 49.43 331.36) |
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)
#45454F — rgb(69, 69, 79)
Deuteranopia (Green-blind)
#4A504A — rgb(74, 80, 74)
Tritanopia (Blue-blind)
#64413E — rgb(100, 65, 62)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(306, 63%, 25%);
text
color: hsl(306, 63%, 25%);
border
border: 2px solid hsl(306, 63%, 25%);
gradient light
background: linear-gradient(to right, hsl(306, 63%, 45%), hsl(306, 63%, 25%));
gradient dark
background: linear-gradient(to right, hsl(306, 63%, 25%), hsl(306, 63%, 5%))
hex
background-color: #681860;
tailwind
bg-[hsl(306,63%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(306, 63%, 25%, 0.4);
css variable
--color-primary: hsl(306, 63%, 25%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(306, 63%, 25%)?
HEX: #681860 | RGB: rgb(104, 24, 96) | CMYK: 0%, 77%, 8%, 59% | HSV: 306°, 77%, 41%. Copy any format from the conversion table above.
What colors go well with #681860?
The complementary color is HSL(126, 63%, 25%). For a triadic harmony, use hues 306°, 66°, and 186°. For analogous combinations, try hues 276° and 336°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(306, 63%, 25%) in CSS?
As HSL: color: hsl(306, 63%, 25%); — As HEX: color: #681860; — As RGB: color: rgb(104, 24, 96); — Tailwind CSS: bg-[hsl(306,63%,25%)] — CSS variable: --color-primary: hsl(306, 63%, 25%);