HSL(268, 70%, 53%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(268,70%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(268, 70%, 53%) | color: hsl(268, 70%, 53%) | |
| HEX | #8233DB | color: #8233DB | |
| RGB | rgb(130, 51, 219) | color: rgb(130, 51, 219) | |
| CMYK | cmyk(41%, 77%, 0%, 14%) | — | |
| HSV | hsv(268, 77%, 86%) | — | |
| HWB | hwb(268 20% 14%) | color: hwb(268 20% 14%) | |
| OKLCH | oklch(0.5255 0.2354 299.28) | color: oklch(0.5255 0.2354 299.28) | |
| Lab | lab(41.58 64.18 -71.81) | color: lab(41.58 64.18 -71.81) | |
| LCH | lch(41.58 96.31 311.79) | color: lch(41.58 96.31 311.79) |
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)
#605FB2 — rgb(96, 95, 178)
Deuteranopia (Green-blind)
#646AA9 — rgb(100, 106, 169)
Tritanopia (Blue-blind)
#7E928B — rgb(126, 146, 139)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(268, 70%, 53%);
text
color: hsl(268, 70%, 53%);
border
border: 2px solid hsl(268, 70%, 53%);
gradient light
background: linear-gradient(to right, hsl(268, 70%, 73%), hsl(268, 70%, 53%));
gradient dark
background: linear-gradient(to right, hsl(268, 70%, 53%), hsl(268, 70%, 33%))
hex
background-color: #8233DB;
tailwind
bg-[hsl(268,70%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(268, 70%, 53%, 0.4);
css variable
--color-primary: hsl(268, 70%, 53%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(268, 70%, 53%)?
HEX: #8233DB | RGB: rgb(130, 51, 219) | CMYK: 41%, 77%, 0%, 14% | HSV: 268°, 77%, 86%. Copy any format from the conversion table above.
What colors go well with #8233DB?
The complementary color is HSL(88, 70%, 53%). For a triadic harmony, use hues 268°, 28°, and 148°. For analogous combinations, try hues 238° and 298°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(268, 70%, 53%) in CSS?
As HSL: color: hsl(268, 70%, 53%); — As HEX: color: #8233DB; — As RGB: color: rgb(130, 51, 219); — Tailwind CSS: bg-[hsl(268,70%,53%)] — CSS variable: --color-primary: hsl(268, 70%, 53%);