HSL(303, 46%, 26%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(303,46%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(303, 46%, 26%) | color: hsl(303, 46%, 26%) | |
| HEX | #61245E | color: #61245E | |
| RGB | rgb(97, 36, 94) | color: rgb(97, 36, 94) | |
| CMYK | cmyk(0%, 63%, 3%, 62%) | — | |
| HSV | hsv(303, 63%, 38%) | — | |
| HWB | hwb(303 14% 62%) | color: hwb(303 14% 62%) | |
| OKLCH | oklch(0.3737 0.1175 329.58) | color: oklch(0.3737 0.1175 329.58) | |
| Lab | lab(25.6 35.92 -21.65) | color: lab(25.6 35.92 -21.65) | |
| LCH | lch(25.6 41.94 328.92) | color: lch(25.6 41.94 328.92) |
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)
#474650 — rgb(71, 70, 80)
Deuteranopia (Green-blind)
#4A4F4D — rgb(74, 79, 77)
Tritanopia (Blue-blind)
#5E4542 — rgb(94, 69, 66)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(303, 46%, 26%);
text
color: hsl(303, 46%, 26%);
border
border: 2px solid hsl(303, 46%, 26%);
gradient light
background: linear-gradient(to right, hsl(303, 46%, 46%), hsl(303, 46%, 26%));
gradient dark
background: linear-gradient(to right, hsl(303, 46%, 26%), hsl(303, 46%, 6%))
hex
background-color: #61245E;
tailwind
bg-[hsl(303,46%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(303, 46%, 26%, 0.4);
css variable
--color-primary: hsl(303, 46%, 26%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(303, 46%, 26%)?
HEX: #61245E | RGB: rgb(97, 36, 94) | CMYK: 0%, 63%, 3%, 62% | HSV: 303°, 63%, 38%. Copy any format from the conversion table above.
What colors go well with #61245E?
The complementary color is HSL(123, 46%, 26%). For a triadic harmony, use hues 303°, 63°, and 183°. For analogous combinations, try hues 273° and 333°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(303, 46%, 26%) in CSS?
As HSL: color: hsl(303, 46%, 26%); — As HEX: color: #61245E; — As RGB: color: rgb(97, 36, 94); — Tailwind CSS: bg-[hsl(303,46%,26%)] — CSS variable: --color-primary: hsl(303, 46%, 26%);