Nerdulator> put something in

Recognised as Colour

#421F7C

  • #421F7C
  • Violet
  • Dark
  • Nearest: Midnight blue

#421F7C is a violet with RGB values 66, 31, 124 and HSL 263°, 60%, 30%. It is a dark colour, so white text on it reaches 12.2:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#421F7C#421F7C
HEX#421F7C
RGBrgb(66, 31, 124)
RGB (0–1)0.2588, 0.1216, 0.4863
RGB percentages25.9%, 12.2%, 48.6%
HSLhsl(262.6, 60%, 30.4%)
HSV / HSBhsv(262.6, 75%, 48.6%)
CMYK46.8%, 75%, 0%, 51.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,333,436
CSS custom property--colour: #421F7C;

Brightness & contrast

Relative luminance0.03593WCAG 2.x, 0 is black and 1 is white
Perceived brightness60.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.22:1
Contrast with white12.22:1WCAG normal text: AAA
Contrast with black1.72:1WCAG normal text: Fail
Greyscale equivalent#2D2D2D
Inverted#BDE083

Colour vision & accessibility

Protanopia#00367Fno red cones; affects about 1% of men; ΔE 22.5 from the original
Deuteranopia#00347Ano green cones; the most common form, about 1% of men; ΔE 23.3 from the original
Tritanopia#32374Bno blue cones; rare, and affects men and women equally; ΔE 48.4 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.22:1WCAG large text: AAA
Contrast with black, large text1.72:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#597C1F
Analogous#1F2B7C, #701F7C
Triadic#7C421F, #1F7C42
Split complementary#7C701F, #2B7C1F
Tetradic#7C1F2B, #597C1F, #1F7C70

Tints, shades & saturation

Lighter +40%#A886E1
Lighter +30%#8B5DD7
Lighter +20%#6E35CC
Lighter +10%#5829A5
Darker −10%#2C1553
Darker −20%#170B2A
Darker −30%#010002
Darker −40%#000000
More saturated +25%#3D0C8F
Less saturated −25%#473269

Channel breakdown

R66
G31
B124
Red66 (25.9%)
Green31 (12.2%)
Blue124 (48.6%)
Hue262.58°
Saturation (HSL)60%
Lightness30.39%
Dominant channelBlue
Hex per channelR 42 · G 1F · B 7C

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