HSL(313, 35%, 38%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(313,35%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(313, 35%, 38%) | color: hsl(313, 35%, 38%) | |
| HEX | #833F74 | color: #833F74 | |
| RGB | rgb(131, 63, 116) | color: rgb(131, 63, 116) | |
| CMYK | cmyk(0%, 52%, 11%, 49%) | — | |
| HSV | hsv(313, 52%, 51%) | — | |
| HWB | hwb(313 24% 49%) | color: hwb(313 24% 49%) | |
| OKLCH | oklch(0.4735 0.1161 336.3) | color: oklch(0.4735 0.1161 336.3) | |
| Lab | lab(37.19 36.59 -17.29) | color: lab(37.19 36.59 -17.29) | |
| LCH | lch(37.19 40.47 334.71) | color: lch(37.19 40.47 334.71) |
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)
#666567 — rgb(102, 101, 103)
Deuteranopia (Green-blind)
#6A6F64 — rgb(106, 111, 100)
Tritanopia (Blue-blind)
#805D5B — rgb(128, 93, 91)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(313, 35%, 38%);
text
color: hsl(313, 35%, 38%);
border
border: 2px solid hsl(313, 35%, 38%);
gradient light
background: linear-gradient(to right, hsl(313, 35%, 58%), hsl(313, 35%, 38%));
gradient dark
background: linear-gradient(to right, hsl(313, 35%, 38%), hsl(313, 35%, 18%))
hex
background-color: #833F74;
tailwind
bg-[hsl(313,35%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(313, 35%, 38%, 0.4);
css variable
--color-primary: hsl(313, 35%, 38%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(313, 35%, 38%)?
HEX: #833F74 | RGB: rgb(131, 63, 116) | CMYK: 0%, 52%, 11%, 49% | HSV: 313°, 52%, 51%. Copy any format from the conversion table above.
What colors go well with #833F74?
The complementary color is HSL(133, 35%, 38%). For a triadic harmony, use hues 313°, 73°, and 193°. For analogous combinations, try hues 283° and 343°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(313, 35%, 38%) in CSS?
As HSL: color: hsl(313, 35%, 38%); — As HEX: color: #833F74; — As RGB: color: rgb(131, 63, 116); — Tailwind CSS: bg-[hsl(313,35%,38%)] — CSS variable: --color-primary: hsl(313, 35%, 38%);