HSL(299, 95%, 22%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(299,95%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(299, 95%, 22%) | color: hsl(299, 95%, 22%) | |
| HEX | #6C036D | color: #6C036D | |
| RGB | rgb(108, 3, 109) | color: rgb(108, 3, 109) | |
| CMYK | cmyk(1%, 97%, 0%, 57%) | — | |
| HSV | hsv(299, 97%, 43%) | — | |
| HWB | hwb(299 1% 57%) | color: hwb(299 1% 57%) | |
| OKLCH | oklch(0.3749 0.1701 327.86) | color: oklch(0.3749 0.1701 327.86) | |
| Lab | lab(24.82 51.75 -32.53) | color: lab(24.82 51.75 -32.53) | |
| LCH | lch(24.82 61.12 327.85) | color: lch(24.82 61.12 327.85) |
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)
#3F3E53 — rgb(63, 62, 83)
Deuteranopia (Green-blind)
#454D4D — rgb(69, 77, 77)
Tritanopia (Blue-blind)
#673F3B — rgb(103, 63, 59)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(299, 95%, 22%);
text
color: hsl(299, 95%, 22%);
border
border: 2px solid hsl(299, 95%, 22%);
gradient light
background: linear-gradient(to right, hsl(299, 95%, 42%), hsl(299, 95%, 22%));
gradient dark
background: linear-gradient(to right, hsl(299, 95%, 22%), hsl(299, 95%, 2%))
hex
background-color: #6C036D;
tailwind
bg-[hsl(299,95%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(299, 95%, 22%, 0.4);
css variable
--color-primary: hsl(299, 95%, 22%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(299, 95%, 22%)?
HEX: #6C036D | RGB: rgb(108, 3, 109) | CMYK: 1%, 97%, 0%, 57% | HSV: 299°, 97%, 43%. Copy any format from the conversion table above.
What colors go well with #6C036D?
The complementary color is HSL(119, 95%, 22%). 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, 95%, 22%) in CSS?
As HSL: color: hsl(299, 95%, 22%); — As HEX: color: #6C036D; — As RGB: color: rgb(108, 3, 109); — Tailwind CSS: bg-[hsl(299,95%,22%)] — CSS variable: --color-primary: hsl(299, 95%, 22%);