HSL(304, 65%, 10%)
Very Dark Purple — Purple color
Adjust Color
Color Information
Color Name
Very Dark Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(304,65%,10%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(304, 65%, 10%) | color: hsl(304, 65%, 10%) | |
| HEX | #2A0928 | color: #2A0928 | |
| RGB | rgb(42, 9, 40) | color: rgb(42, 9, 40) | |
| CMYK | cmyk(0%, 79%, 5%, 84%) | — | |
| HSV | hsv(304, 79%, 16%) | — | |
| HWB | hwb(304 3% 84%) | color: hwb(304 3% 84%) | |
| OKLCH | oklch(0.2126 0.0715 330.24) | color: oklch(0.2126 0.0715 330.24) | |
| Lab | lab(7.6 21.89 -12.9) | color: lab(7.6 21.89 -12.9) | |
| LCH | lch(7.6 25.41 329.49) | color: lch(7.6 25.41 329.49) |
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)
#1C1B20 — rgb(28, 27, 32)
Deuteranopia (Green-blind)
#1E201F — rgb(30, 32, 31)
Tritanopia (Blue-blind)
#281B19 — rgb(40, 27, 25)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(304, 65%, 10%);
text
color: hsl(304, 65%, 10%);
border
border: 2px solid hsl(304, 65%, 10%);
gradient light
background: linear-gradient(to right, hsl(304, 65%, 30%), hsl(304, 65%, 10%));
gradient dark
background: linear-gradient(to right, hsl(304, 65%, 10%), hsl(304, 65%, 0%))
hex
background-color: #2A0928;
tailwind
bg-[hsl(304,65%,10%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(304, 65%, 10%, 0.4);
css variable
--color-primary: hsl(304, 65%, 10%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(304, 65%, 10%)?
HEX: #2A0928 | RGB: rgb(42, 9, 40) | CMYK: 0%, 79%, 5%, 84% | HSV: 304°, 79%, 16%. Copy any format from the conversion table above.
What colors go well with #2A0928?
The complementary color is HSL(124, 65%, 10%). For a triadic harmony, use hues 304°, 64°, and 184°. For analogous combinations, try hues 274° and 334°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(304, 65%, 10%) in CSS?
As HSL: color: hsl(304, 65%, 10%); — As HEX: color: #2A0928; — As RGB: color: rgb(42, 9, 40); — Tailwind CSS: bg-[hsl(304,65%,10%)] — CSS variable: --color-primary: hsl(304, 65%, 10%);