HSL(308, 55%, 25%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(308,55%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 55%, 25%) | color: hsl(308, 55%, 25%) | |
| HEX | #631D59 | color: #631D59 | |
| RGB | rgb(99, 29, 89) | color: rgb(99, 29, 89) | |
| CMYK | cmyk(0%, 71%, 10%, 61%) | — | |
| HSV | hsv(309, 71%, 39%) | — | |
| HWB | hwb(309 11% 61%) | color: hwb(309 11% 61%) | |
| OKLCH | oklch(0.3655 0.1252 334.03) | color: oklch(0.3655 0.1252 334.03) | |
| Lab | lab(24.49 38.86 -20.06) | color: lab(24.49 38.86 -20.06) | |
| LCH | lch(24.49 43.73 332.7) | color: lch(24.49 43.73 332.7) |
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)
#45444A — rgb(69, 68, 74)
Deuteranopia (Green-blind)
#494E47 — rgb(73, 78, 71)
Tritanopia (Blue-blind)
#603F3D — rgb(96, 63, 61)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 55%, 25%);
text
color: hsl(308, 55%, 25%);
border
border: 2px solid hsl(308, 55%, 25%);
gradient light
background: linear-gradient(to right, hsl(308, 55%, 45%), hsl(308, 55%, 25%));
gradient dark
background: linear-gradient(to right, hsl(308, 55%, 25%), hsl(308, 55%, 5%))
hex
background-color: #631D59;
tailwind
bg-[hsl(308,55%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 55%, 25%, 0.4);
css variable
--color-primary: hsl(308, 55%, 25%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 55%, 25%)?
HEX: #631D59 | RGB: rgb(99, 29, 89) | CMYK: 0%, 71%, 10%, 61% | HSV: 309°, 71%, 39%. Copy any format from the conversion table above.
What colors go well with #631D59?
The complementary color is HSL(128, 55%, 25%). For a triadic harmony, use hues 308°, 68°, and 188°. For analogous combinations, try hues 278° and 338°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(308, 55%, 25%) in CSS?
As HSL: color: hsl(308, 55%, 25%); — As HEX: color: #631D59; — As RGB: color: rgb(99, 29, 89); — Tailwind CSS: bg-[hsl(308,55%,25%)] — CSS variable: --color-primary: hsl(308, 55%, 25%);