Recognised as Colour
#2D025C
- #2D025C
- Violet
- Dark
- Nearest: Midnight blue
#2D025C is a violet with RGB values 45, 2, 92 and HSL 269°, 96%, 18%. It is a dark colour, so white text on it reaches 16.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2D025C#2D025C
HEX#2D025C
RGBrgb(45, 2, 92)
RGB (0–1)0.1765, 0.0078, 0.3608
RGB percentages17.6%, 0.8%, 36.1%
HSLhsl(268.7, 95.7%, 18.4%)
HSV / HSBhsv(268.7, 97.8%, 36.1%)
CMYK51.1%, 97.8%, 0%, 63.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,949,724
CSS custom property--colour: #2D025C;
Brightness & contrast
Relative luminance0.01374WCAG 2.x, 0 is black and 1 is white
Perceived brightness39.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.47:1
Contrast with white16.47:1WCAG normal text: AAA
Contrast with black1.27:1WCAG normal text: Fail
Greyscale equivalent#121212
Inverted#D2FDA3
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.47:1WCAG large text: AAA
Contrast with black, large text1.27:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#315C02
Analogous#02045C, #5A025C
Triadic#5C2D02, #025C2D
Split complementary#5C5A02, #045C02
Tetradic#5C0204, #315C02, #025C5A
Tints, shades & saturation
Channel breakdown
R45
G2
B92
Red45 (17.6%)
Green2 (0.8%)
Blue92 (36.1%)
Hue268.67°
Saturation (HSL)95.74%
Lightness18.43%
Dominant channelBlue
Hex per channelR 2D · G 02 · B 5C
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