HSL(299, 90%, 8%)
Very Dark Purple — Purple color
Adjust Color
Color Information
Color Name
Very Dark Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(299,90%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(299, 90%, 8%) | color: hsl(299, 90%, 8%) | |
| HEX | #260227 | color: #260227 | |
| RGB | rgb(38, 2, 39) | color: rgb(38, 2, 39) | |
| CMYK | cmyk(3%, 95%, 0%, 85%) | — | |
| HSV | hsv(298, 95%, 15%) | — | |
| HWB | hwb(298 1% 85%) | color: hwb(298 1% 85%) | |
| OKLCH | oklch(0.193 0.0826 327.06) | color: oklch(0.193 0.0826 327.06) | |
| Lab | lab(5.44 23.61 -15.57) | color: lab(5.44 23.61 -15.57) | |
| LCH | lch(5.44 28.28 326.6) | color: lch(5.44 28.28 326.6) |
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)
#16161E — rgb(22, 22, 30)
Deuteranopia (Green-blind)
#191B1C — rgb(25, 27, 28)
Tritanopia (Blue-blind)
#241715 — rgb(36, 23, 21)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(299, 90%, 8%);
text
color: hsl(299, 90%, 8%);
border
border: 2px solid hsl(299, 90%, 8%);
gradient light
background: linear-gradient(to right, hsl(299, 90%, 28%), hsl(299, 90%, 8%));
gradient dark
background: linear-gradient(to right, hsl(299, 90%, 8%), hsl(299, 90%, 0%))
hex
background-color: #260227;
tailwind
bg-[hsl(299,90%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(299, 90%, 8%, 0.4);
css variable
--color-primary: hsl(299, 90%, 8%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(299, 90%, 8%)?
HEX: #260227 | RGB: rgb(38, 2, 39) | CMYK: 3%, 95%, 0%, 85% | HSV: 298°, 95%, 15%. Copy any format from the conversion table above.
What colors go well with #260227?
The complementary color is HSL(119, 90%, 8%). 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, 90%, 8%) in CSS?
As HSL: color: hsl(299, 90%, 8%); — As HEX: color: #260227; — As RGB: color: rgb(38, 2, 39); — Tailwind CSS: bg-[hsl(299,90%,8%)] — CSS variable: --color-primary: hsl(299, 90%, 8%);