HSL(255, 63%, 45%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(255,63%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(255, 63%, 45%) | color: hsl(255, 63%, 45%) | |
| HEX | #4F2ABB | color: #4F2ABB | |
| RGB | rgb(79, 42, 187) | color: rgb(79, 42, 187) | |
| CMYK | cmyk(58%, 78%, 0%, 27%) | — | |
| HSV | hsv(255, 78%, 73%) | — | |
| HWB | hwb(255 16% 27%) | color: hwb(255 16% 27%) | |
| OKLCH | oklch(0.4339 0.2086 285.45) | color: oklch(0.4339 0.2086 285.45) | |
| Lab | lab(31.59 52.61 -69.79) | color: lab(31.59 52.61 -69.79) | |
| LCH | lch(31.59 87.4 307.01) | color: lch(31.59 87.4 307.01) |
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)
#3F3F98 — rgb(63, 63, 152)
Deuteranopia (Green-blind)
#414490 — rgb(65, 68, 144)
Tritanopia (Blue-blind)
#4D7C76 — rgb(77, 124, 118)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(255, 63%, 45%);
text
color: hsl(255, 63%, 45%);
border
border: 2px solid hsl(255, 63%, 45%);
gradient light
background: linear-gradient(to right, hsl(255, 63%, 65%), hsl(255, 63%, 45%));
gradient dark
background: linear-gradient(to right, hsl(255, 63%, 45%), hsl(255, 63%, 25%))
hex
background-color: #4F2ABB;
tailwind
bg-[hsl(255,63%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(255, 63%, 45%, 0.4);
css variable
--color-primary: hsl(255, 63%, 45%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(255, 63%, 45%)?
HEX: #4F2ABB | RGB: rgb(79, 42, 187) | CMYK: 58%, 78%, 0%, 27% | HSV: 255°, 78%, 73%. Copy any format from the conversion table above.
What colors go well with #4F2ABB?
The complementary color is HSL(75, 63%, 45%). For a triadic harmony, use hues 255°, 15°, and 135°. For analogous combinations, try hues 225° and 285°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(255, 63%, 45%) in CSS?
As HSL: color: hsl(255, 63%, 45%); — As HEX: color: #4F2ABB; — As RGB: color: rgb(79, 42, 187); — Tailwind CSS: bg-[hsl(255,63%,45%)] — CSS variable: --color-primary: hsl(255, 63%, 45%);