HSL(283, 60%, 34%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(283,60%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(283, 60%, 34%) | color: hsl(283, 60%, 34%) | |
| HEX | #6D238B | color: #6D238B | |
| RGB | rgb(109, 35, 139) | color: rgb(109, 35, 139) | |
| CMYK | cmyk(22%, 75%, 0%, 45%) | — | |
| HSV | hsv(283, 75%, 55%) | — | |
| HWB | hwb(283 14% 45%) | color: hwb(283 14% 45%) | |
| OKLCH | oklch(0.4199 0.1685 314.13) | color: oklch(0.4199 0.1685 314.13) | |
| Lab | lab(30.2 48.64 -42.86) | color: lab(30.2 48.64 -42.86) | |
| LCH | lch(30.2 64.83 318.61) | color: lch(30.2 64.83 318.61) |
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)
#4D4C72 — rgb(77, 76, 114)
Deuteranopia (Green-blind)
#51576C — rgb(81, 87, 108)
Tritanopia (Blue-blind)
#695E5A — rgb(105, 94, 90)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(283, 60%, 34%);
text
color: hsl(283, 60%, 34%);
border
border: 2px solid hsl(283, 60%, 34%);
gradient light
background: linear-gradient(to right, hsl(283, 60%, 54%), hsl(283, 60%, 34%));
gradient dark
background: linear-gradient(to right, hsl(283, 60%, 34%), hsl(283, 60%, 14%))
hex
background-color: #6D238B;
tailwind
bg-[hsl(283,60%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(283, 60%, 34%, 0.4);
css variable
--color-primary: hsl(283, 60%, 34%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(283, 60%, 34%)?
HEX: #6D238B | RGB: rgb(109, 35, 139) | CMYK: 22%, 75%, 0%, 45% | HSV: 283°, 75%, 55%. Copy any format from the conversion table above.
What colors go well with #6D238B?
The complementary color is HSL(103, 60%, 34%). For a triadic harmony, use hues 283°, 43°, and 163°. For analogous combinations, try hues 253° and 313°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(283, 60%, 34%) in CSS?
As HSL: color: hsl(283, 60%, 34%); — As HEX: color: #6D238B; — As RGB: color: rgb(109, 35, 139); — Tailwind CSS: bg-[hsl(283,60%,34%)] — CSS variable: --color-primary: hsl(283, 60%, 34%);