#280F7F Color

Inspect #280F7F across formats, palettes, contrast and closest named color matches.

Color preview

#280F7F

Color formats

HEX
#280F7F
RGB
rgb(40, 15, 127)
RGBA
rgba(40, 15, 127, 1)
HSL
hsl(253, 79%, 28%)
HSV
hsv(253, 88%, 50%)
CMYK
cmyk(69%, 88%, 0%, 50%)
CSS variable
--color-primary: #280F7F;
Lowercase HEX
#280f7f

Shades

Tints

Tones

Harmony

CSS snippets for #280F7F

.color-280f7f {
  color: #280F7F;
  background-color: #280F7F;
}

Frequently asked questions

What color is #280F7F?+

#280F7F is a HEX color with RGB value rgb(40, 15, 127) and HSL value hsl(253, 79%, 28%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #280F7F?+

The closest Tailwind color is violet-950, available as the bg-violet-950 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools