Skip to content

Medium Violet (#65315F)

The hex code for Medium Violet is #65315F. It is rgb(101, 49, 95) in RGB, hsl(307, 35%, 29%) in HSL, and about cmyk(0%, 51%, 6%, 60%) in CMYK — a dark pink. White text is the more readable choice on this background.

#65315F
HEX#65315F
RGBrgb(101, 49, 95)
HSLhsl(307, 35%, 29%)
HSVhsv(307, 51%, 40%)
CMYKcmyk(0%, 51%, 6%, 60%)
OKLCHoklch(39.9% 0.098 331.7)
LABlab(28.88% 29.04 -16.93)
LCHlch(28.88% 33.61 329.75)

Colors Closest to Medium Violet

Medium Violet is a registered color name. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.

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

#65315F Channel Values

How Medium Violet 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 101 · G 49 · B 958-bit channels as sent to the display
HSLH 307° · S 35% · L 29%Easiest model for building lighter and darker variants
HSVH 307° · S 51% · V 40%Matches the picker in most design tools
CMYKC 0% · M 51% · Y 6% · K 60%Approximate ink mix; confirm with an ICC profile before printing
Luminance9.73:1 vs white · 2.16:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a Medium Violet 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 text9.73:1AA normal AA large AAA normal
TextBlack text2.16:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #65315F in the contrast checker.

Colors That Go With Medium Violet

Pairings derived from color-wheel relationships. The complementary color sits opposite Medium Violet; 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 Medium Violet

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 #65315F.

How Medium Violet 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#65315F
Protanopia#3E3E5F
Protanomaly#50395F
Deuteranopia#47475E
Deuteranomaly#553F5E
Tritanopia#613939
Tritanomaly#63364B
Achromatopsia#444444

Test a full palette in the color blindness simulator.

Using #65315F in Code

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

CSS custom property--medium-violet: #65315F;
CSS backgroundbackground-color: #65315F;
Tailwind configcolors: { 'medium-violet': '#65315F' }
SwiftUIColor(red: 0.396, green: 0.192, blue: 0.373)
Android XML<color name="medium_violet">#65315F</color>
SVG fillfill="#65315F"

More Pink Colors

Medium Violet sits in the pinkfamily. These are its neighbours across that family's full range, each with its own breakdown.

#65315F Frequently Asked Questions

What is the hex code for Medium Violet?

The hex code for Medium Violet is #65315F. That is rgb(101, 49, 95) in RGB, hsl(307, 35%, 29%) in HSL, and approximately cmyk(0%, 51%, 6%, 60%) in CMYK.

What is the RGB value of #65315F?

#65315F is rgb(101, 49, 95) — red 101, green 49, and blue 95 on the 0-255 scale.

What is the CMYK value of #65315F?

#65315F converts to approximately cmyk(0%, 51%, 6%, 60%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #65315F be black or white?

White text is the more readable choice. #65315F scores 9.73:1 against white and 2.16:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #65315F as a CSS color keyword?

No. #65315F 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 26.95, which is a different colour altogether.

Open Medium Violet in a Tool

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