HSL(268, 40%, 44%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(268,40%,44%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(268, 40%, 44%) | color: hsl(268, 40%, 44%) | |
| HEX | #6D439D | color: #6D439D | |
| RGB | rgb(109, 67, 157) | color: rgb(109, 67, 157) | |
| CMYK | cmyk(31%, 57%, 0%, 38%) | — | |
| HSV | hsv(268, 57%, 62%) | — | |
| HWB | hwb(268 27% 38%) | color: hwb(268 27% 38%) | |
| OKLCH | oklch(0.475 0.1428 302.88) | color: oklch(0.475 0.1428 302.88) | |
| Lab | lab(37.3 36.81 -42.46) | color: lab(37.3 36.81 -42.46) | |
| LCH | lch(37.3 56.19 310.92) | color: lch(37.3 56.19 310.92) |
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)
#5B5A87 — rgb(91, 90, 135)
Deuteranopia (Green-blind)
#5D6082 — rgb(93, 96, 130)
Tritanopia (Blue-blind)
#6B7672 — rgb(107, 118, 114)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(268, 40%, 44%);
text
color: hsl(268, 40%, 44%);
border
border: 2px solid hsl(268, 40%, 44%);
gradient light
background: linear-gradient(to right, hsl(268, 40%, 64%), hsl(268, 40%, 44%));
gradient dark
background: linear-gradient(to right, hsl(268, 40%, 44%), hsl(268, 40%, 24%))
hex
background-color: #6D439D;
tailwind
bg-[hsl(268,40%,44%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(268, 40%, 44%, 0.4);
css variable
--color-primary: hsl(268, 40%, 44%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(268, 40%, 44%)?
HEX: #6D439D | RGB: rgb(109, 67, 157) | CMYK: 31%, 57%, 0%, 38% | HSV: 268°, 57%, 62%. Copy any format from the conversion table above.
What colors go well with #6D439D?
The complementary color is HSL(88, 40%, 44%). 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, 40%, 44%) in CSS?
As HSL: color: hsl(268, 40%, 44%); — As HEX: color: #6D439D; — As RGB: color: rgb(109, 67, 157); — Tailwind CSS: bg-[hsl(268,40%,44%)] — CSS variable: --color-primary: hsl(268, 40%, 44%);