Royal purple to RGB

Color Code

#4b006e
Format Value
HEX #4b006e
RGB rgb(75, 0, 110)
HSL hsl(280.9, 100%, 21.6%)
CMYK cmyk(31.8%, 100%, 0%, 56.9%)
HSV hsv(280.9, 100%, 43.1%)

royal purple color harmonies

Tints & shades of royal purple

Tints (lighter)

#5b177b #6c2e88 #7c4696 #8c5da3 #9d74b0 #ad8bbd #bea2ca #ceb9d7 #ded1e5 #efe8f2

Shades (darker)

#440064 #3d005a #370050 #300046 #29003c #220032 #1b0028 #14001e #0e0014 #07000a

Contrast & accessibility

The quick brown fox

On white · 13.78:1 · AAA

The quick brown fox

On black · 1.52:1 · Fail

Recommended text color: #ffffff

Use royal purple in code

CSS color: #4b006e;
SCSS $color: #4b006e;
Tailwind bg-[#4b006e]
Swift UIColor(red: 0.294, green: 0.000, blue: 0.431, alpha: 1)
Android Color.parseColor("#4b006e")
Flutter Color(0xFF4B006E)

Colors similar to royal purple

Browse all Purple colors →

What is the RGB code for royal purple?

The CSS color royal purple in RGB format is rgb(75, 0, 110). Use this value directly in CSS, SVG, and most design tools.

How do I use royal purple in CSS?

To apply royal purple in CSS:

  • Text color: color: rgb(75, 0, 110);
  • Background: background-color: rgb(75, 0, 110);
  • Border: border-color: rgb(75, 0, 110);

What are all the color format values for royal purple?

FormatValue
HEX#4b006e
RGBrgb(75, 0, 110)
HSLhsl(280.9, 100%, 21.6%)
CMYKcmyk(31.8%, 100%, 0%, 56.9%)

How do I convert royal purple to RGB?

Select royal purple from the color name list in our color converter. The RGB value — rgb(75, 0, 110) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does royal purple belong to?

royal purple belongs to the purple color family. It is a dark, vivid color with HSL values: hue 280.9°, saturation 100%, lightness 21.6%.

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

Lighter variant (lightness 36.6%): #7f00bb. Darker variant (lightness 6.600000000000001%): #170022. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is RGB used for?

RGB defines colors using three values from 0 to 255 — red, green and blue intensity. It is the native format for screens, monitors and web browsers.