HSL(284, 70%, 30%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(284,70%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(284, 70%, 30%) | color: hsl(284, 70%, 30%) | |
| HEX | #651782 | color: #651782 | |
| RGB | rgb(101, 23, 130) | color: rgb(101, 23, 130) | |
| CMYK | cmyk(22%, 82%, 0%, 49%) | — | |
| HSV | hsv(284, 82%, 51%) | — | |
| HWB | hwb(284 9% 49%) | color: hwb(284 9% 49%) | |
| OKLCH | oklch(0.3905 0.1701 314.48) | color: oklch(0.3905 0.1701 314.48) | |
| Lab | lab(26.71 49.58 -42.95) | color: lab(26.71 49.58 -42.95) | |
| LCH | lch(26.71 65.6 319.1) | color: lch(26.71 65.6 319.1) |
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)
#434368 — rgb(67, 67, 104)
Deuteranopia (Green-blind)
#484E62 — rgb(72, 78, 98)
Tritanopia (Blue-blind)
#61544F — rgb(97, 84, 79)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(284, 70%, 30%);
text
color: hsl(284, 70%, 30%);
border
border: 2px solid hsl(284, 70%, 30%);
gradient light
background: linear-gradient(to right, hsl(284, 70%, 50%), hsl(284, 70%, 30%));
gradient dark
background: linear-gradient(to right, hsl(284, 70%, 30%), hsl(284, 70%, 10%))
hex
background-color: #651782;
tailwind
bg-[hsl(284,70%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(284, 70%, 30%, 0.4);
css variable
--color-primary: hsl(284, 70%, 30%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(284, 70%, 30%)?
HEX: #651782 | RGB: rgb(101, 23, 130) | CMYK: 22%, 82%, 0%, 49% | HSV: 284°, 82%, 51%. Copy any format from the conversion table above.
What colors go well with #651782?
The complementary color is HSL(104, 70%, 30%). For a triadic harmony, use hues 284°, 44°, and 164°. For analogous combinations, try hues 254° and 314°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(284, 70%, 30%) in CSS?
As HSL: color: hsl(284, 70%, 30%); — As HEX: color: #651782; — As RGB: color: rgb(101, 23, 130); — Tailwind CSS: bg-[hsl(284,70%,30%)] — CSS variable: --color-primary: hsl(284, 70%, 30%);