Nerdulator> put something in

Recognised as Colour

#2D1275

  • #2D1275
  • Violet
  • Dark
  • Nearest: Midnight blue

#2D1275 is a violet with RGB values 45, 18, 117 and HSL 256°, 73%, 26%. It is a dark colour, so white text on it reaches 14.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2D1275#2D1275
HEX#2D1275
RGBrgb(45, 18, 117)
RGB (0–1)0.1765, 0.0706, 0.4588
RGB percentages17.6%, 7.1%, 45.9%
HSLhsl(256.4, 73.3%, 26.5%)
HSV / HSBhsv(256.4, 84.6%, 45.9%)
CMYK61.5%, 84.6%, 0%, 54.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,953,845
CSS custom property--colour: #2D1275;

Brightness & contrast

Relative luminance0.02275WCAG 2.x, 0 is black and 1 is white
Perceived brightness48.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.43:1
Contrast with white14.43:1WCAG normal text: AAA
Contrast with black1.45:1WCAG normal text: Fail
Greyscale equivalent#1F1F1F
Inverted#D2ED8A

Colour vision & accessibility

Protanopia#002C78no red cones; affects about 1% of men; ΔE 20.1 from the original
Deuteranopia#002773no green cones; the most common form, about 1% of men; ΔE 18.5 from the original
Tritanopia#023044no blue cones; rare, and affects men and women equally; ΔE 57.1 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.43:1WCAG large text: AAA
Contrast with black, large text1.45:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#5A7512
Analogous#122875, #5E1275
Triadic#752D12, #12752D
Split complementary#755F12, #287512
Tetradic#751229, #5A7512, #12755F

Tints, shades & saturation

Lighter +40%#8D6BE8
Lighter +30%#6B3FE1
Lighter +20%#4F20CD
Lighter +10%#3E19A1
Darker −10%#1C0B49
Darker −20%#0B041D
Darker −30%#000000
Darker −40%#000000
More saturated +25%#250186
Less saturated −25%#352364

Channel breakdown

R45
G18
B117
Red45 (17.6%)
Green18 (7.1%)
Blue117 (45.9%)
Hue256.36°
Saturation (HSL)73.33%
Lightness26.47%
Dominant channelBlue
Hex per channelR 2D · G 12 · B 75

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