HSL(303, 30%, 30%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(303,30%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(303, 30%, 30%) | color: hsl(303, 30%, 30%) | |
| HEX | #633661 | color: #633661 | |
| RGB | rgb(99, 54, 97) | color: rgb(99, 54, 97) | |
| CMYK | cmyk(0%, 45%, 2%, 61%) | — | |
| HSV | hsv(303, 45%, 39%) | — | |
| HWB | hwb(303 21% 61%) | color: hwb(303 21% 61%) | |
| OKLCH | oklch(0.4059 0.0893 328.68) | color: oklch(0.4059 0.0893 328.68) | |
| Lab | lab(29.8 27.25 -17.03) | color: lab(29.8 27.25 -17.03) | |
| LCH | lch(29.8 32.13 328) | color: lch(29.8 32.13 328) |
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)
#504F57 — rgb(80, 79, 87)
Deuteranopia (Green-blind)
#525654 — rgb(82, 86, 84)
Tritanopia (Blue-blind)
#614E4D — rgb(97, 78, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(303, 30%, 30%);
text
color: hsl(303, 30%, 30%);
border
border: 2px solid hsl(303, 30%, 30%);
gradient light
background: linear-gradient(to right, hsl(303, 30%, 50%), hsl(303, 30%, 30%));
gradient dark
background: linear-gradient(to right, hsl(303, 30%, 30%), hsl(303, 30%, 10%))
hex
background-color: #633661;
tailwind
bg-[hsl(303,30%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(303, 30%, 30%, 0.4);
css variable
--color-primary: hsl(303, 30%, 30%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(303, 30%, 30%)?
HEX: #633661 | RGB: rgb(99, 54, 97) | CMYK: 0%, 45%, 2%, 61% | HSV: 303°, 45%, 39%. Copy any format from the conversion table above.
What colors go well with #633661?
The complementary color is HSL(123, 30%, 30%). 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, 30%, 30%) in CSS?
As HSL: color: hsl(303, 30%, 30%); — As HEX: color: #633661; — As RGB: color: rgb(99, 54, 97); — Tailwind CSS: bg-[hsl(303,30%,30%)] — CSS variable: --color-primary: hsl(303, 30%, 30%);