#791A4D CSS Color Code

#791A4D

Color Values & Formats

Using is just one of many ways to represent this color in CSS. Below are the various color codes you can use:

HEX
#791a4d
HEX Upper
#791A4D
RGB
rgb(121, 26, 77)
RGBA
rgba(121, 26, 77, 1)
HSL
hsl(328, 65%, 29%)
HSLA
hsla(328, 65%, 29%, 1)
HWB
hwb(328 10% 53%)
CIELAB
lab(27.68 44.52 -6.83)
CIELCH
lch(27.68 45.04 351.28)
OKLab
oklab(0.395 0.137 -0.018)
OKLCH
oklch(0.395 0.138 352.66)

UI Component Preview

See how this color behaves when used as text, background, or outline borders in a user interface.

On White Background

Legibility Test

Five crazy hex codes quickly mixed bright aqua text for web layout pages.

On Dark Background

Legibility Test

Five crazy hex codes quickly mixed bright aqua text for web layout pages.

Interactive Buttons
Border & Stroke
Border Example

Tints

Lighter variations generated by blending the color with white (#ffffff).

Shades

Darker variations generated by blending the color with black (#000000).

Complementary Color

The color directly opposite on the HSL color wheel (shifted 180°).