Skip to content

Petunia (#470659)

The hex code for Petunia is #470659. It is rgb(71, 6, 89) in RGB, hsl(287, 87%, 19%) in HSL, and about cmyk(20%, 93%, 0%, 65%) in CMYK — a darkest purple. White text is the more readable choice on this background.

#470659
HEX#470659
RGBrgb(71, 6, 89)
HSLhsl(287, 87%, 19%)
HSVhsv(287, 93%, 35%)
CMYKcmyk(20%, 93%, 0%, 65%)
OKLCHoklch(29.8% 0.137 317)
LABlab(16.20% 37.80 -33.36)
LCHlch(16.20% 50.42 318.57)

Colors Closest to Petunia

Petunia 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 purple in the library.

#470659 Channel Values

How Petunia 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 71 · G 6 · B 898-bit channels as sent to the display
HSLH 287° · S 87% · L 19%Easiest model for building lighter and darker variants
HSVH 287° · S 93% · V 35%Matches the picker in most design tools
CMYKC 20% · M 93% · Y 0% · K 65%Approximate ink mix; confirm with an ICC profile before printing
Luminance14.6:1 vs white · 1.44:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a Petunia 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 text14.6:1AA normal AA large AAA normal
TextBlack text1.44:1AA normal AA large AAA normal

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

Colors That Go With Petunia

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

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 #470659.

How Petunia 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#470659
Protanopia#1D1D59
Protanomaly#331659
Deuteranopia#292958
Deuteranomaly#371F59
Tritanopia#402020
Tritanomaly#43183E
Achromatopsia#292929

Test a full palette in the color blindness simulator.

Using #470659 in Code

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

CSS custom property--petunia: #470659;
CSS backgroundbackground-color: #470659;
Tailwind configcolors: { 'petunia': '#470659' }
SwiftUIColor(red: 0.278, green: 0.024, blue: 0.349)
Android XML<color name="petunia">#470659</color>
SVG fillfill="#470659"

More Purple Colors

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

#470659 Frequently Asked Questions

What is the hex code for Petunia?

The hex code for Petunia is #470659. That is rgb(71, 6, 89) in RGB, hsl(287, 87%, 19%) in HSL, and approximately cmyk(20%, 93%, 0%, 65%) in CMYK.

What is the RGB value of #470659?

#470659 is rgb(71, 6, 89) — red 71, green 6, and blue 89 on the 0-255 scale.

What is the CMYK value of #470659?

#470659 converts to approximately cmyk(20%, 93%, 0%, 65%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #470659 be black or white?

White text is the more readable choice. #470659 scores 14.6:1 against white and 1.44:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #470659 as a CSS color keyword?

No. #470659 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 midnightblue (#191970) at a CIE76 distance of 21.21, which is visibly different.

Open Petunia in a Tool

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