HSL(268, 70%, 55%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(268,70%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(268, 70%, 55%) | color: hsl(268, 70%, 55%) | |
| HEX | #873CDD | color: #873CDD | |
| RGB | rgb(135, 60, 221) | color: rgb(135, 60, 221) | |
| CMYK | cmyk(39%, 73%, 0%, 13%) | — | |
| HSV | hsv(268, 73%, 87%) | — | |
| HWB | hwb(268 23% 13%) | color: hwb(268 23% 13%) | |
| OKLCH | oklch(0.542 0.229 299.89) | color: oklch(0.542 0.229 299.89) | |
| Lab | lab(43.66 61.73 -69.52) | color: lab(43.66 61.73 -69.52) | |
| LCH | lch(43.66 92.97 311.6) | color: lch(43.66 92.97 311.6) |
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)
#6766B6 — rgb(103, 102, 182)
Deuteranopia (Green-blind)
#6B71AD — rgb(107, 113, 173)
Tritanopia (Blue-blind)
#839791 — rgb(131, 151, 145)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(268, 70%, 55%);
text
color: hsl(268, 70%, 55%);
border
border: 2px solid hsl(268, 70%, 55%);
gradient light
background: linear-gradient(to right, hsl(268, 70%, 75%), hsl(268, 70%, 55%));
gradient dark
background: linear-gradient(to right, hsl(268, 70%, 55%), hsl(268, 70%, 35%))
hex
background-color: #873CDD;
tailwind
bg-[hsl(268,70%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(268, 70%, 55%, 0.4);
css variable
--color-primary: hsl(268, 70%, 55%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(268, 70%, 55%)?
HEX: #873CDD | RGB: rgb(135, 60, 221) | CMYK: 39%, 73%, 0%, 13% | HSV: 268°, 73%, 87%. Copy any format from the conversion table above.
What colors go well with #873CDD?
The complementary color is HSL(88, 70%, 55%). 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%, 55%) in CSS?
As HSL: color: hsl(268, 70%, 55%); — As HEX: color: #873CDD; — As RGB: color: rgb(135, 60, 221); — Tailwind CSS: bg-[hsl(268,70%,55%)] — CSS variable: --color-primary: hsl(268, 70%, 55%);