HSL(281, 35%, 64%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,35%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 35%, 64%) | color: hsl(281, 35%, 64%) | |
| HEX | #AF83C3 | color: #AF83C3 | |
| RGB | rgb(175, 131, 195) | color: rgb(175, 131, 195) | |
| CMYK | cmyk(10%, 33%, 0%, 24%) | — | |
| HSV | hsv(281, 33%, 76%) | — | |
| HWB | hwb(281 51% 24%) | color: hwb(281 51% 24%) | |
| OKLCH | oklch(0.6754 0.1039 314.93) | color: oklch(0.6754 0.1039 314.93) | |
| Lab | lab(61.03 28.52 -26.84) | color: lab(61.03 28.52 -26.84) | |
| LCH | lch(61.03 39.16 316.74) | color: lch(61.03 39.16 316.74) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#9C9CB4 — rgb(156, 156, 180)
Deuteranopia (Green-blind)
#9FA2B0 — rgb(159, 162, 176)
Tritanopia (Blue-blind)
#ADA7A5 — rgb(173, 167, 165)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 35%, 64%);
text
color: hsl(281, 35%, 64%);
border
border: 2px solid hsl(281, 35%, 64%);
gradient light
background: linear-gradient(to right, hsl(281, 35%, 84%), hsl(281, 35%, 64%));
gradient dark
background: linear-gradient(to right, hsl(281, 35%, 64%), hsl(281, 35%, 44%))
hex
background-color: #AF83C3;
tailwind
bg-[hsl(281,35%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 35%, 64%, 0.4);
css variable
--color-primary: hsl(281, 35%, 64%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 35%, 64%)?
HEX: #AF83C3 | RGB: rgb(175, 131, 195) | CMYK: 10%, 33%, 0%, 24% | HSV: 281°, 33%, 76%. Copy any format from the conversion table above.
What colors go well with #AF83C3?
The complementary color is HSL(101, 35%, 64%). For a triadic harmony, use hues 281°, 41°, and 161°. For analogous combinations, try hues 251° and 311°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(281, 35%, 64%) in CSS?
As HSL: color: hsl(281, 35%, 64%); — As HEX: color: #AF83C3; — As RGB: color: rgb(175, 131, 195); — Tailwind CSS: bg-[hsl(281,35%,64%)] — CSS variable: --color-primary: hsl(281, 35%, 64%);