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
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
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
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.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page