Skip to content

Websafe Indigo (#330099)

The hex code for Websafe Indigo is #330099. It is rgb(51, 0, 153) in RGB, hsl(260, 100%, 30%) in HSL, and about cmyk(67%, 100%, 0%, 40%) in CMYK — a dark purple. White text is the more readable choice on this background.

#330099
HEX#330099
RGBrgb(51, 0, 153)
HSLhsl(260, 100%, 30%)
HSVhsv(260, 100%, 60%)
CMYKcmyk(67%, 100%, 0%, 40%)
OKLCHoklch(33.7% 0.201 281.7)
LABlab(18.66% 48.75 -70.50)
LCHlch(18.66% 85.71 304.66)

Colors Closest to Websafe Indigo

Websafe Indigo 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.

#330099 Channel Values

How Websafe Indigo 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 51 · G 0 · B 1538-bit channels as sent to the display
HSLH 260° · S 100% · L 30%Easiest model for building lighter and darker variants
HSVH 260° · S 100% · V 60%Matches the picker in most design tools
CMYKC 67% · M 100% · Y 0% · K 40%Approximate ink mix; confirm with an ICC profile before printing
Luminance13.12:1 vs white · 1.6:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a Websafe Indigo 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 text13.12:1AA normal AA large AAA normal
Fails AABlack text1.6:1AA normal AA large AAA normal

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

Colors That Go With Websafe Indigo

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

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

How Websafe Indigo 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#330099
Protanopia#111199
Protanomaly#230B99
Deuteranopia#1B1B99
Deuteranomaly#261399
Tritanopia#003838
Tritanomaly#172B6D
Achromatopsia#303030

Test a full palette in the color blindness simulator.

Using #330099 in Code

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

CSS custom property--websafe-indigo: #330099;
CSS backgroundbackground-color: #330099;
Tailwind configcolors: { 'websafe-indigo': '#330099' }
SwiftUIColor(red: 0.200, green: 0.000, blue: 0.600)
Android XML<color name="websafe_indigo">#330099</color>
SVG fillfill="#330099"

More Purple Colors

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

#330099 Frequently Asked Questions

What is the hex code for Websafe Indigo?

The hex code for Websafe Indigo is #330099. That is rgb(51, 0, 153) in RGB, hsl(260, 100%, 30%) in HSL, and approximately cmyk(67%, 100%, 0%, 40%) in CMYK.

What is the RGB value of #330099?

#330099 is rgb(51, 0, 153) — red 51, green 0, and blue 153 on the 0-255 scale.

What is the CMYK value of #330099?

#330099 converts to approximately cmyk(67%, 100%, 0%, 40%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #330099 be black or white?

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

Can I write #330099 as a CSS color keyword?

No. #330099 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 darkblue (#00008B) at a CIE76 distance of 7.76, which is clearly related but distinguishable side by side.

Open Websafe Indigo in a Tool

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