Nerdulator> put something in

Colour

#28115A

  • #28115A
  • Violet
  • Dark
  • Nearest: Midnight blue

#28115A is a violet with RGB values 40, 17, 90 and HSL 259°, 68%, 21%. It is a dark colour, so white text on it reaches 15.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#28115A#28115A
HEX#28115A
RGBrgb(40, 17, 90)
RGB (0–1)0.1569, 0.0667, 0.3529
RGB percentages15.7%, 6.7%, 35.3%
HSLhsl(258.9, 68.2%, 21%)
HSV / HSBhsv(258.9, 81.1%, 35.3%)
CMYK55.6%, 81.1%, 0%, 64.7%naive device-independent conversion; real print needs an ICC profile
24-bit integer2,625,882
CSS custom property--colour: #28115A;

Brightness & contrast

Relative luminance0.0159WCAG 2.x, 0 is black and 1 is white
Perceived brightness39.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.93:1
Contrast with white15.93:1WCAG normal text: AAA
Contrast with black1.32:1WCAG normal text: Fail
Greyscale equivalent#1B1B1B
Inverted#D7EEA5

Colour vision & accessibility

Protanopia#00235Cno red cones; affects about 1% of men; ΔE 17 from the original
Deuteranopia#002059no green cones; the most common form, about 1% of men; ΔE 15.9 from the original
Tritanopia#162535no blue cones; rare, and affects men and women equally; ΔE 41.6 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.93:1WCAG large text: AAA
Contrast with black, large text1.32:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 10.55, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#435A11
Analogous#111E5A, #4D115A
Triadic#5A2811, #115A28
Split complementary#5A4C11, #1F5A11
Tetradic#5A111E, #435A11, #115A4D

Tints, shades & saturation

Lighter +40%#8258DF
Lighter +30%#622DD7
Lighter +20%#4E21B0
Lighter +10%#3B1985
Darker −10%#15092F
Darker −20%#020104
Darker −30%#000000
Darker −40%#000000
More saturated +25%#230467
Less saturated −25%#2D1E4D

Channel breakdown

R40
G17
B90
Red40 (15.7%)
Green17 (6.7%)
Blue90 (35.3%)
Hue258.9°
Saturation (HSL)68.22%
Lightness20.98%
Dominant channelBlue
Hex per channelR 28 · G 11 · B 5A

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “28115a” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.