HSL(259, 53%, 47%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(259,53%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(259, 53%, 47%) | color: hsl(259, 53%, 47%) | |
| HEX | #6138B7 | color: #6138B7 | |
| RGB | rgb(97, 56, 183) | color: rgb(97, 56, 183) | |
| CMYK | cmyk(47%, 69%, 0%, 28%) | — | |
| HSV | hsv(259, 69%, 72%) | — | |
| HWB | hwb(259 22% 28%) | color: hwb(259 22% 28%) | |
| OKLCH | oklch(0.4653 0.1883 292.3) | color: oklch(0.4653 0.1883 292.3) | |
| Lab | lab(35.57 47.23 -60.83) | color: lab(35.57 47.23 -60.83) | |
| LCH | lch(35.57 77.01 307.83) | color: lch(35.57 77.01 307.83) |
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)
#4F4F98 — rgb(79, 79, 152)
Deuteranopia (Green-blind)
#525591 — rgb(82, 85, 145)
Tritanopia (Blue-blind)
#5F807B — rgb(95, 128, 123)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(259, 53%, 47%);
text
color: hsl(259, 53%, 47%);
border
border: 2px solid hsl(259, 53%, 47%);
gradient light
background: linear-gradient(to right, hsl(259, 53%, 67%), hsl(259, 53%, 47%));
gradient dark
background: linear-gradient(to right, hsl(259, 53%, 47%), hsl(259, 53%, 27%))
hex
background-color: #6138B7;
tailwind
bg-[hsl(259,53%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(259, 53%, 47%, 0.4);
css variable
--color-primary: hsl(259, 53%, 47%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(259, 53%, 47%)?
HEX: #6138B7 | RGB: rgb(97, 56, 183) | CMYK: 47%, 69%, 0%, 28% | HSV: 259°, 69%, 72%. Copy any format from the conversion table above.
What colors go well with #6138B7?
The complementary color is HSL(79, 53%, 47%). For a triadic harmony, use hues 259°, 19°, and 139°. For analogous combinations, try hues 229° and 289°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(259, 53%, 47%) in CSS?
As HSL: color: hsl(259, 53%, 47%); — As HEX: color: #6138B7; — As RGB: color: rgb(97, 56, 183); — Tailwind CSS: bg-[hsl(259,53%,47%)] — CSS variable: --color-primary: hsl(259, 53%, 47%);