HSL(262, 27%, 53%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(262,27%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 27%, 53%) | color: hsl(262, 27%, 53%) | |
| HEX | #7F67A8 | color: #7F67A8 | |
| RGB | rgb(127, 103, 168) | color: rgb(127, 103, 168) | |
| CMYK | cmyk(24%, 39%, 0%, 34%) | — | |
| HSV | hsv(262, 39%, 66%) | — | |
| HWB | hwb(262 40% 34%) | color: hwb(262 40% 34%) | |
| OKLCH | oklch(0.5637 0.1012 300.18) | color: oklch(0.5637 0.1012 300.18) | |
| Lab | lab(48.31 23.48 -31.45) | color: lab(48.31 23.48 -31.45) | |
| LCH | lch(48.31 39.25 306.74) | color: lch(48.31 39.25 306.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: white
Color Blindness Simulation
Protanopia (Red-blind)
#757498 — rgb(117, 116, 152)
Deuteranopia (Green-blind)
#767895 — rgb(118, 120, 149)
Tritanopia (Blue-blind)
#7E8C89 — rgb(126, 140, 137)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 27%, 53%);
text
color: hsl(262, 27%, 53%);
border
border: 2px solid hsl(262, 27%, 53%);
gradient light
background: linear-gradient(to right, hsl(262, 27%, 73%), hsl(262, 27%, 53%));
gradient dark
background: linear-gradient(to right, hsl(262, 27%, 53%), hsl(262, 27%, 33%))
hex
background-color: #7F67A8;
tailwind
bg-[hsl(262,27%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 27%, 53%, 0.4);
css variable
--color-primary: hsl(262, 27%, 53%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 27%, 53%)?
HEX: #7F67A8 | RGB: rgb(127, 103, 168) | CMYK: 24%, 39%, 0%, 34% | HSV: 262°, 39%, 66%. Copy any format from the conversion table above.
What colors go well with #7F67A8?
The complementary color is HSL(82, 27%, 53%). For a triadic harmony, use hues 262°, 22°, and 142°. For analogous combinations, try hues 232° and 292°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(262, 27%, 53%) in CSS?
As HSL: color: hsl(262, 27%, 53%); — As HEX: color: #7F67A8; — As RGB: color: rgb(127, 103, 168); — Tailwind CSS: bg-[hsl(262,27%,53%)] — CSS variable: --color-primary: hsl(262, 27%, 53%);