Recognised as Colour
#30104C
- #30104C
- Violet
- Dark
- Nearest: Midnight blue
#30104C is a violet with RGB values 48, 16, 76 and HSL 272°, 65%, 18%. It is a dark colour, so white text on it reaches 16.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#30104C#30104C
HEX#30104C
RGBrgb(48, 16, 76)
RGB (0–1)0.1882, 0.0627, 0.298
RGB percentages18.8%, 6.3%, 29.8%
HSLhsl(272, 65.2%, 18%)
HSV / HSBhsv(272, 78.9%, 29.8%)
CMYK36.8%, 78.9%, 0%, 70.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,149,900
CSS custom property--colour: #30104C;
Brightness & contrast
Relative luminance0.01521WCAG 2.x, 0 is black and 1 is white
Perceived brightness38.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.1:1
Contrast with white16.1:1WCAG normal text: AAA
Contrast with black1.3:1WCAG normal text: Fail
Greyscale equivalent#1B1B1B
Inverted#CFEFB3
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.1:1WCAG large text: AAA
Contrast with black, large text1.3:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2C4C10
Analogous#12104C, #4C104A
Triadic#4C3010, #104C30
Split complementary#4A4C10, #104C12
Tetradic#4C1210, #2C4C10, #104A4C
Tints, shades & saturation
Channel breakdown
R48
G16
B76
Red48 (18.8%)
Green16 (6.3%)
Blue76 (29.8%)
Hue272°
Saturation (HSL)65.22%
Lightness18.04%
Dominant channelBlue
Hex per channelR 30 · G 10 · B 4C
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