HSL(281, 83%, 55%)
Vivid Indigo — Indigo color
Adjust Color
Color Information
Color Name
Vivid Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,83%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 83%, 55%) | color: hsl(281, 83%, 55%) | |
| HEX | #AF2DEB | color: #AF2DEB | |
| RGB | rgb(175, 45, 235) | color: rgb(175, 45, 235) | |
| CMYK | cmyk(26%, 81%, 0%, 8%) | — | |
| HSV | hsv(281, 81%, 92%) | — | |
| HWB | hwb(281 17% 8%) | color: hwb(281 17% 8%) | |
| OKLCH | oklch(0.5887 0.2648 311.67) | color: oklch(0.5887 0.2648 311.67) | |
| Lab | lab(48.25 76.65 -69.77) | color: lab(48.25 76.65 -69.77) | |
| LCH | lch(48.25 103.65 317.69) | color: lch(48.25 103.65 317.69) |
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)
#7776BD — rgb(119, 118, 189)
Deuteranopia (Green-blind)
#7E88B2 — rgb(126, 136, 178)
Tritanopia (Blue-blind)
#A99991 — rgb(169, 153, 145)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 83%, 55%);
text
color: hsl(281, 83%, 55%);
border
border: 2px solid hsl(281, 83%, 55%);
gradient light
background: linear-gradient(to right, hsl(281, 83%, 75%), hsl(281, 83%, 55%));
gradient dark
background: linear-gradient(to right, hsl(281, 83%, 55%), hsl(281, 83%, 35%))
hex
background-color: #AF2DEB;
tailwind
bg-[hsl(281,83%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 83%, 55%, 0.4);
css variable
--color-primary: hsl(281, 83%, 55%);
Related Colors
Use Cases for Vivid Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 83%, 55%)?
HEX: #AF2DEB | RGB: rgb(175, 45, 235) | CMYK: 26%, 81%, 0%, 8% | HSV: 281°, 81%, 92%. Copy any format from the conversion table above.
What colors go well with #AF2DEB?
The complementary color is HSL(101, 83%, 55%). 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, 83%, 55%) in CSS?
As HSL: color: hsl(281, 83%, 55%); — As HEX: color: #AF2DEB; — As RGB: color: rgb(175, 45, 235); — Tailwind CSS: bg-[hsl(281,83%,55%)] — CSS variable: --color-primary: hsl(281, 83%, 55%);