Red violet Color — HEX, RGB, HSL & CMYK Codes

#9e0168
Format Value
HEX #9e0168
RGB rgb(158, 1, 104)
HSL hsl(320.6, 98.7%, 31.2%)
CMYK cmyk(0%, 99.4%, 34.2%, 38%)
HSV hsv(320.6, 99.4%, 62%)

red violet color harmonies

Tints & shades of red violet

Tints (lighter)

#a71876 #b02f83 #b84691 #c15d9f #ca74ad #d38cba #dca3c8 #e5bad6 #edd1e4 #f6e8f1

Shades (darker)

#90015f #810155 #73014c #650142 #560139 #48002f #390026 #2b001c #1d0013 #0e0009

Contrast & accessibility

The quick brown fox

On white · 7.9:1 · AAA

The quick brown fox

On black · 2.66:1 · Fail

Recommended text color: #ffffff

Use red violet in code

CSS color: #9e0168;
SCSS $color: #9e0168;
Tailwind bg-[#9e0168]
Swift UIColor(red: 0.620, green: 0.004, blue: 0.408, alpha: 1)
Android Color.parseColor("#9e0168")
Flutter Color(0xFF9E0168)

Colors similar to red violet

Browse all Pink colors →

What is the HEX code for red violet?

The CSS color red violet in HEX format is #9e0168. Use this value directly in CSS, SVG, and most design tools.

How do I use red violet in CSS?

To apply red violet in CSS:

  • Text color: color: #9e0168;
  • Background: background-color: #9e0168;
  • Border: border-color: #9e0168;

What are all the color format values for red violet?

FormatValue
HEX#9e0168
RGBrgb(158, 1, 104)
HSLhsl(320.6, 98.7%, 31.2%)
CMYKcmyk(0%, 99.4%, 34.2%, 38%)

How do I convert red violet to HEX?

Select red violet from the color name list in our color converter. The HEX value — #9e0168 — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does red violet belong to?

red violet belongs to the pink color family. It is a medium, vivid color with HSL values: hue 320.6°, saturation 98.7%, lightness 31.2%.

How do I create lighter and darker shades of red violet?

Lighter variant (lightness 46.2%): #ea029a. Darker variant (lightness 16.2%): #520136. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HEX used for?

HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.