Nerdulator> put something in

Recognised as Colour

#260C42

  • #260C42
  • Violet
  • Dark
  • Nearest: Midnight blue

#260C42 is a violet with RGB values 38, 12, 66 and HSL 269°, 69%, 15%. It is a dark colour, so white text on it reaches 17.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#260C42#260C42
HEX#260C42
RGBrgb(38, 12, 66)
RGB (0–1)0.149, 0.0471, 0.2588
RGB percentages14.9%, 4.7%, 25.9%
HSLhsl(268.9, 69.2%, 15.3%)
HSV / HSBhsv(268.9, 81.8%, 25.9%)
CMYK42.4%, 81.8%, 0%, 74.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,493,506
CSS custom property--colour: #260C42;

Brightness & contrast

Relative luminance0.01068WCAG 2.x, 0 is black and 1 is white
Perceived brightness31.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.3:1
Contrast with white17.3:1WCAG normal text: AAA
Contrast with black1.21:1WCAG normal text: Fail
Greyscale equivalent#151515
Inverted#D9F3BD

Colour vision & accessibility

Protanopia#001A44no red cones; affects about 1% of men; ΔE 16.1 from the original
Deuteranopia#001A41no green cones; the most common form, about 1% of men; ΔE 17.6 from the original
Tritanopia#201926no blue cones; rare, and affects men and women equally; ΔE 28.6 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.3:1WCAG large text: AAA
Contrast with black, large text1.21:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#28420C
Analogous#0C0D42, #410C42
Triadic#42260C, #0C4226
Split complementary#42410C, #0D420C
Tetradic#420C0D, #28420C, #0C4241

Tints, shades & saturation

Lighter +40%#8A3EDC
Lighter +30%#7124C3
Lighter +20%#581C98
Lighter +10%#3F146D
Darker −10%#0D0417
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#26024C
Less saturated −25%#261638

Channel breakdown

R38
G12
B66
Red38 (14.9%)
Green12 (4.7%)
Blue66 (25.9%)
Hue268.89°
Saturation (HSL)69.23%
Lightness15.29%
Dominant channelBlue
Hex per channelR 26 · G 0C · B 42

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