HSL(293, 31%, 35%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(293,31%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(293, 31%, 35%) | color: hsl(293, 31%, 35%) | |
| HEX | #6E3E75 | color: #6E3E75 | |
| RGB | rgb(110, 62, 117) | color: rgb(110, 62, 117) | |
| CMYK | cmyk(6%, 47%, 0%, 54%) | — | |
| HSV | hsv(292, 47%, 46%) | — | |
| HWB | hwb(292 24% 54%) | color: hwb(292 24% 54%) | |
| OKLCH | oklch(0.4442 0.1035 322.34) | color: oklch(0.4442 0.1035 322.34) | |
| Lab | lab(34.08 30.47 -22.98) | color: lab(34.08 30.47 -22.98) | |
| LCH | lch(34.08 38.16 322.98) | color: lch(34.08 38.16 322.98) |
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)
#595968 — rgb(89, 89, 104)
Deuteranopia (Green-blind)
#5C6065 — rgb(92, 96, 101)
Tritanopia (Blue-blind)
#6C5D5B — rgb(108, 93, 91)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(293, 31%, 35%);
text
color: hsl(293, 31%, 35%);
border
border: 2px solid hsl(293, 31%, 35%);
gradient light
background: linear-gradient(to right, hsl(293, 31%, 55%), hsl(293, 31%, 35%));
gradient dark
background: linear-gradient(to right, hsl(293, 31%, 35%), hsl(293, 31%, 15%))
hex
background-color: #6E3E75;
tailwind
bg-[hsl(293,31%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(293, 31%, 35%, 0.4);
css variable
--color-primary: hsl(293, 31%, 35%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(293, 31%, 35%)?
HEX: #6E3E75 | RGB: rgb(110, 62, 117) | CMYK: 6%, 47%, 0%, 54% | HSV: 292°, 47%, 46%. Copy any format from the conversion table above.
What colors go well with #6E3E75?
The complementary color is HSL(113, 31%, 35%). For a triadic harmony, use hues 293°, 53°, and 173°. For analogous combinations, try hues 263° and 323°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(293, 31%, 35%) in CSS?
As HSL: color: hsl(293, 31%, 35%); — As HEX: color: #6E3E75; — As RGB: color: rgb(110, 62, 117); — Tailwind CSS: bg-[hsl(293,31%,35%)] — CSS variable: --color-primary: hsl(293, 31%, 35%);