Skip to content

#5F305F Color

#5F305F is rgb(95, 48, 95) in RGB, hsl(300, 33%, 28%) in HSL, and about cmyk(0%, 49%, 0%, 63%) in CMYK. It has no registered color name of its own — the closest is Medium Violet (#65315F), very hard to tell apart at ΔE 2.72. White text is the more readable choice on this background.

#5F305F
HEX#5F305F
RGBrgb(95, 48, 95)
HSLhsl(300, 33%, 28%)
HSVhsv(300, 49%, 37%)
CMYKcmyk(0%, 49%, 0%, 63%)
OKLCHoklch(38.9% 0.096 327.2)
LABlab(27.73% 27.42 -18.79)
LCHlch(27.73% 33.24 325.58)

What #5F305F Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #5F305F, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every pink in the library.

#5F305F Channel Values

How #5F305F breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 95 · G 48 · B 958-bit channels as sent to the display
HSLH 300° · S 33% · L 28%Easiest model for building lighter and darker variants
HSVH 300° · S 49% · V 37%Matches the picker in most design tools
CMYKC 0% · M 49% · Y 0% · K 63%Approximate ink mix; confirm with an ICC profile before printing
Luminance10.12:1 vs white · 2.07:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #5F305F background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text10.12:1AA normal AA large AAA normal
Fails AABlack text2.07:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #5F305F in the contrast checker.

Colors That Go With #5F305F

Pairings derived from color-wheel relationships. The complementary color sits opposite #5F305F; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #5F305F

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #5F305F.

How #5F305F Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#5F305F
Protanopia#3B3B5F
Protanomaly#4C375F
Deuteranopia#44445E
Deuteranomaly#503D5E
Tritanopia#5B3939
Tritanomaly#5C354B
Achromatopsia#424242

Test a full palette in the color blindness simulator.

Using #5F305F in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-5f305f: #5F305F;
CSS backgroundbackground-color: #5F305F;
Tailwind configcolors: { 'color-5f305f': '#5F305F' }
SwiftUIColor(red: 0.373, green: 0.188, blue: 0.373)
Android XML<color name="color_5f305f">#5F305F</color>
SVG fillfill="#5F305F"

More Pink Colors

#5F305F sits in the pink family. These are its neighbours across that family's full range, each with its own breakdown.

#5F305F Frequently Asked Questions

What color is #5F305F?

#5F305F is a dark pink — rgb(95, 48, 95) in RGB and hsl(300, 33%, 28%) in HSL. It carries no registered color name of its own; the closest named color is Medium Violet (#65315F), which is very hard to tell apart at a CIE76 distance of 2.72.

What is the RGB value of #5F305F?

#5F305F is rgb(95, 48, 95) — red 95, green 48, and blue 95 on the 0-255 scale.

What is the CMYK value of #5F305F?

#5F305F converts to approximately cmyk(0%, 49%, 0%, 63%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #5F305F be black or white?

White text is the more readable choice. #5F305F scores 10.12:1 against white and 2.07:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #5F305F as a CSS color keyword?

No. #5F305F is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is darkslateblue (#483D8B) at a CIE76 distance of 24.83, which is visibly different.

Open #5F305F in a Tool

Keep exploring: every pink in the color library, the guide to shades of pink, or the full color library.