Recognised as Colour
#25056C
- #25056C
- Violet
- Dark
- Nearest: Midnight blue
#25056C is a violet with RGB values 37, 5, 108 and HSL 259°, 91%, 22%. It is a dark colour, so white text on it reaches 15.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#25056C#25056C
HEX#25056C
RGBrgb(37, 5, 108)
RGB (0–1)0.1451, 0.0196, 0.4235
RGB percentages14.5%, 2%, 42.4%
HSLhsl(258.6, 91.2%, 22.2%)
HSV / HSBhsv(258.6, 95.4%, 42.4%)
CMYK65.7%, 95.4%, 0%, 57.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,426,220
CSS custom property--colour: #25056C;
Brightness & contrast
Relative luminance0.01585WCAG 2.x, 0 is black and 1 is white
Perceived brightness41.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.95:1
Contrast with white15.95:1WCAG normal text: AAA
Contrast with black1.32:1WCAG normal text: Fail
Greyscale equivalent#131313
Inverted#DAFA93
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.95:1WCAG large text: AAA
Contrast with black, large text1.32:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#4C6C05
Analogous#05186C, #59056C
Triadic#6C2505, #056C25
Split complementary#6C5805, #196C05
Tetradic#6C0518, #4C6C05, #056C59
Tints, shades & saturation
Channel breakdown
R37
G5
B108
Red37 (14.5%)
Green5 (2%)
Blue108 (42.4%)
Hue258.64°
Saturation (HSL)91.15%
Lightness22.16%
Dominant channelBlue
Hex per channelR 25 · G 05 · B 6C
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