WordGPT

Indigo color (#4B0082)

#4B0082 (Indigo) is a dark purple colour. It is rgb(75, 0, 130) in RGB and hsl(275, 100%, 25%) in HSL. Text in white reads better on it: the contrast is 12.95:1 against white and 1.62:1 against black.

#4B0082
Indigo: #4B0082
Complementary#4B0082#378200Analogous#0A0082#4B0082#820078Triadic#4B0082#824B00#00824BTetradic (square)#4B0082#820A00#378200#007882Split complementary#4B0082#788200#00820A
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
0c001619002b2600413200573f006c4b0082692b978755aca580c1c3aad5e1d5ea
From dark shades (left, mixed with black) to light tints (right, mixed with white)

How to work it out

  1. 1

    A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).

    \mathrm{#4B0082}:\quad R=\mathrm{4B}_{16}=75,\ G=\mathrm{00}_{16}=0,\ B=\mathrm{82}_{16}=130
  2. 2

    HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.

    H=275∘,S=100%,L=25%H=275^\circ,\quad S=100\%,\quad L=25\%
  3. 3

    The complementary colour sits opposite on the wheel: add 180° to the hue.

    275^\circ + 180^\circ = 95^\circ ;\Rightarrow; \mathrm{#378200}
  4. 4

    Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).

    contrast=L1+0.05L2+0.05=12.95:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 12.95:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#4B0082} = \mathrm{rgb}(75, 0, 130) \]
\[ \mathrm{#4B0082}:\quad R=\mathrm{4B}_{16}=75,\ G=\mathrm{00}_{16}=0,\ B=\mathrm{82}_{16}=130 \]
\[ H=275^\circ,\quad S=100\%,\quad L=25\% \]
\[ 275^\circ + 180^\circ = 95^\circ ;\Rightarrow; \mathrm{#378200} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 12.95:1\ \text{(on white)} \]

Indigo in every colour format

FormatValue
HEX#4B0082
RGBrgb(75, 0, 130)
RGB (percent)rgb(29.4%, 0.0%, 51.0%)
HSLhsl(275, 100%, 25%)
HSV / HSBhsv(275, 100%, 51%)
CMYKcmyk(42%, 100%, 0%, 49%)
Decimal4915330
Descriptiondark purple
CSS nameindigo

Text contrast (WCAG)

Background of this colour with…ContrastAA normal (4.5)AA large (3)AAA normal (7)AAA large (4.5)
White text12.95:1passpasspasspass
Black text1.62:1failfailfailfail

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#0C0016 #19002B #260041 #320057 #3F006C
This colour#4B0082
Tints (mixed with white)#692B97 #8755AC #A580C1 #C3AAD5 #E1D5EA

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#00318530
Deuteranopia#00318032
Tritanopia#3E2E4A54
Grayscale#313131-

Nearest named colours

NameHex
Navy#000080
Rebecca purple#663399
Dark blue#00008B
Purple#800080

Questions

What is the RGB value of #4B0082?

rgb(75, 0, 130): red 75, green 0, blue 130.

What is the HSL value of #4B0082?

hsl(275, 100%, 25%): a hue of 275°, 100% saturation and 25% lightness.

What is the complementary colour of #4B0082?

#378200, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #B4FF7D.

Should I use white or black text on #4B0082?

White. White gives 12.95:1 and black 1.62:1; the better one passes WCAG AA for normal text.

What is the CMYK value of #4B0082?

cmyk(42%, 100%, 0%, 49%). This is a simple formula conversion; printed colours depend on the printer profile.

Is #4B0082 a named colour?

Yes: it is the CSS colour name "indigo".

Matching colours

A little darker, a little lighter

Make a palette

    Indigo (#4B0082): color code, RGB, HSL, shades and palettes | WordGPT