Recognised as Colour
#30186A
- #30186A
- Violet
- Dark
- Nearest: Midnight blue
#30186A is a violet with RGB values 48, 24, 106 and HSL 258°, 63%, 25%. It is a dark colour, so white text on it reaches 14.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#30186A#30186A
HEX#30186A
RGBrgb(48, 24, 106)
RGB (0–1)0.1882, 0.0941, 0.4157
RGB percentages18.8%, 9.4%, 41.6%
HSLhsl(257.6, 63.1%, 25.5%)
HSV / HSBhsv(257.6, 77.4%, 41.6%)
CMYK54.7%, 77.4%, 0%, 58.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,151,978
CSS custom property--colour: #30186A;
Brightness & contrast
Relative luminance0.02322WCAG 2.x, 0 is black and 1 is white
Perceived brightness48 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.34:1
Contrast with white14.34:1WCAG normal text: AAA
Contrast with black1.46:1WCAG normal text: Fail
Greyscale equivalent#232323
Inverted#CFE795
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.34:1WCAG large text: AAA
Contrast with black, large text1.46:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#526A18
Analogous#18296A, #59186A
Triadic#6A3018, #186A30
Split complementary#6A5918, #296A18
Tetradic#6A1829, #526A18, #186A59
Tints, shades & saturation
Channel breakdown
R48
G24
B106
Red48 (18.8%)
Green24 (9.4%)
Blue106 (41.6%)
Hue257.56°
Saturation (HSL)63.08%
Lightness25.49%
Dominant channelBlue
Hex per channelR 30 · G 18 · B 6A
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