Nerdulator> put something in

Recognised as Colour

#28025B

  • #28025B
  • Violet
  • Dark
  • Nearest: Midnight blue

#28025B is a violet with RGB values 40, 2, 91 and HSL 266°, 96%, 18%. It is a dark colour, so white text on it reaches 16.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#28025B#28025B
HEX#28025B
RGBrgb(40, 2, 91)
RGB (0–1)0.1569, 0.0078, 0.3569
RGB percentages15.7%, 0.8%, 35.7%
HSLhsl(265.6, 95.7%, 18.2%)
HSV / HSBhsv(265.6, 97.8%, 35.7%)
CMYK56%, 97.8%, 0%, 64.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,622,043
CSS custom property--colour: #28025B;

Brightness & contrast

Relative luminance0.0125WCAG 2.x, 0 is black and 1 is white
Perceived brightness37.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.8:1
Contrast with white16.8:1WCAG normal text: AAA
Contrast with black1.25:1WCAG normal text: Fail
Greyscale equivalent#111111
Inverted#D7FDA4

Colour vision & accessibility

Protanopia#001E5Dno red cones; affects about 1% of men; ΔE 20.2 from the original
Deuteranopia#001C5Ano green cones; the most common form, about 1% of men; ΔE 20 from the original
Tritanopia#162032no blue cones; rare, and affects men and women equally; ΔE 47.5 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.8:1WCAG large text: AAA
Contrast with black, large text1.25:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 9.93, clearly different but related
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#355B02
Analogous#02095B, #54025B
Triadic#5B2802, #025B28
Split complementary#5B5402, #095B02
Tetradic#5B0209, #355B02, #025B54

Tints, shades & saturation

Lighter +40%#862FFA
Lighter +30%#6A05F1
Lighter +20%#5404BF
Lighter +10%#3E038D
Darker −10%#120129
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#28005D
Less saturated −25%#2A0E4F

Channel breakdown

R40
G2
B91
Red40 (15.7%)
Green2 (0.8%)
Blue91 (35.7%)
Hue265.62°
Saturation (HSL)95.7%
Lightness18.24%
Dominant channelBlue
Hex per channelR 28 · G 02 · B 5B

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 “28025b” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.