HSL(303, 93%, 22%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(303,93%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(303, 93%, 22%) | color: hsl(303, 93%, 22%) | |
| HEX | #6C0467 | color: #6C0467 | |
| RGB | rgb(108, 4, 103) | color: rgb(108, 4, 103) | |
| CMYK | cmyk(0%, 96%, 5%, 58%) | — | |
| HSV | hsv(303, 96%, 42%) | — | |
| HWB | hwb(303 2% 58%) | color: hwb(303 2% 58%) | |
| OKLCH | oklch(0.3714 0.1651 330.75) | color: oklch(0.3714 0.1651 330.75) | |
| Lab | lab(24.5 50.57 -29.15) | color: lab(24.5 50.57 -29.15) | |
| LCH | lch(24.5 58.37 330.04) | color: lch(24.5 58.37 330.04) |
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)
#3F3E4F — rgb(63, 62, 79)
Deuteranopia (Green-blind)
#454D49 — rgb(69, 77, 73)
Tritanopia (Blue-blind)
#673C38 — rgb(103, 60, 56)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(303, 93%, 22%);
text
color: hsl(303, 93%, 22%);
border
border: 2px solid hsl(303, 93%, 22%);
gradient light
background: linear-gradient(to right, hsl(303, 93%, 42%), hsl(303, 93%, 22%));
gradient dark
background: linear-gradient(to right, hsl(303, 93%, 22%), hsl(303, 93%, 2%))
hex
background-color: #6C0467;
tailwind
bg-[hsl(303,93%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(303, 93%, 22%, 0.4);
css variable
--color-primary: hsl(303, 93%, 22%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(303, 93%, 22%)?
HEX: #6C0467 | RGB: rgb(108, 4, 103) | CMYK: 0%, 96%, 5%, 58% | HSV: 303°, 96%, 42%. Copy any format from the conversion table above.
What colors go well with #6C0467?
The complementary color is HSL(123, 93%, 22%). 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, 93%, 22%) in CSS?
As HSL: color: hsl(303, 93%, 22%); — As HEX: color: #6C0467; — As RGB: color: rgb(108, 4, 103); — Tailwind CSS: bg-[hsl(303,93%,22%)] — CSS variable: --color-primary: hsl(303, 93%, 22%);