Midnight purple to CMYK — Color Code

#280137
Format Value
HEX #280137
RGB rgb(40, 1, 55)
HSL hsl(283.3, 96.4%, 11%)
CMYK cmyk(27.3%, 98.2%, 0%, 78.4%)
HSV hsv(283.3, 98.2%, 21.6%)

midnight purple color harmonies

Tints & shades of midnight purple

Tints (lighter)

#3c1849 #4f2f5b #63466e #765d80 #8a7492 #9d8ca4 #b1a3b6 #c4bac8 #d8d1db #ebe8ed

Shades (darker)

#240132 #21012d #1d0128 #190123 #16011e #120019 #0f0014 #0b000f #07000a #040005

Contrast & accessibility

The quick brown fox

On white · 18.27:1 · AAA

The quick brown fox

On black · 1.15:1 · Fail

Recommended text color: #ffffff

Use midnight purple in code

CSS color: #280137;
SCSS $color: #280137;
Tailwind bg-[#280137]
Swift UIColor(red: 0.157, green: 0.004, blue: 0.216, alpha: 1)
Android Color.parseColor("#280137")
Flutter Color(0xFF280137)

Colors similar to midnight purple

Browse all Purple colors →

What is the CMYK code for midnight purple?

The CSS color midnight purple in CMYK format is cmyk(27.3%, 98.2%, 0%, 78.4%). Use this value directly in CSS, SVG, and most design tools.

How do I use midnight purple in CSS?

To apply midnight purple in CSS:

  • Text color: color: cmyk(27.3%, 98.2%, 0%, 78.4%);
  • Background: background-color: cmyk(27.3%, 98.2%, 0%, 78.4%);
  • Border: border-color: cmyk(27.3%, 98.2%, 0%, 78.4%);

What are all the color format values for midnight purple?

FormatValue
HEX#280137
RGBrgb(40, 1, 55)
HSLhsl(283.3, 96.4%, 11%)
CMYKcmyk(27.3%, 98.2%, 0%, 78.4%)

How do I convert midnight purple to CMYK?

Select midnight purple from the color name list in our color converter. The CMYK value — cmyk(27.3%, 98.2%, 0%, 78.4%) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does midnight purple belong to?

midnight purple belongs to the purple color family. It is a dark, vivid color with HSL values: hue 283.3°, saturation 96.4%, lightness 11%.

How do I create lighter and darker shades of midnight purple?

Lighter variant (lightness 26%): #5f0282. Darker variant (lightness 5%): #120019. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is CMYK used for?

CMYK (Cyan, Magenta, Yellow, Key/Black) is used in print design. Unlike RGB which adds light, CMYK subtracts it using ink. Always convert to CMYK before sending files to a professional printer.